ToWords


——————————————————————————————————————————————————
Support machine translation: http://amzn.to/1Z7d5oc
——————————————————————————————————————————————————

Crystal Reports Online Help
ToWords
Basic and Crystal syntax.
Overloads
ToWords (x)
ToWords (x, #places)
ToWords (x, #places, formtype)
Arguments
x is a Number or Currency value to be converted into words.
#places is a whole number indicating the number of decimal places to be converted. (This argument is optional.)
formtype specifies what type of form x is. This argument is used only for Asian languages—specifically, Japanese, Korean, Simplified Chinese, and Traditional Chinese. It is ignored for English or any other non-Asian language.
Form Type 0 Classic form, also called the check form
Form Type 1 Daily form
Form Type 2 Casual form

Note:
The daily form has the same structure as the classic form, except it uses a different set of characters for the numbers. In Korean, there is only one set of characters for numbers, so the daily form and the classic form are the same for this language. The daily form is also similar to the style used in articles.
The casual form is used for quoting phone numbers, addresses, and so on.
Returns
Text String
Action
You can use this function to convert a Number or Currency field value or the result of a numeric calculation to words so it can be used as text. The ability to adjust the number of decimal places can be useful when the number is the result of a calculation that may produce more decimal places than you want.
Typical uses
You can use this function to spell out the dollar amount for each check if you are using computer checks.
Examples
The following examples are applicable to both Basic and Crystal syntax:
ToWords(12345)Returns twelve thousand three hundred forty-five and xx/100.
ToWords(12345.6749,2)Returns twelve thousand three hundred forty-five and 67/100.
ToWords(12345.4999,0)Returns twelve thousand three hundred forty-five.
ToWords(12345.5000,0)Returns twelve thousand three hundred forty six.
ToWords(-12345)Returns negative twelve thousand three hundred forty-five and xx/100.
ToWords(12.3499)Returns twelve and 35/100.
ToWords({orders.ORDER AMOUNT})Returns two thousand sixteen and 84/100 where Amount = 2016.84.
ToWords((({file.QTY1} + {file.QTY2} + {file.QTY3}) * {file.PRICE}) * 1.075)Returns one hundred two and 13/100.
ToWords((({file.QTY1} + {file.QTY2} + {file.QTY3}) * {file.PRICE}) * 1.075,0)Returns one hundred two where QTY1 = 1, QTY2 = 82, QTY3 = 12, and Price = 1.00 (sums three quantities, multiplies them times the price and adds 7.5% sales tax). In this case the numeric answer is 102.125 which is then rounded to 102.13 (the standard two decimal places) before putting into words.
Comments
The function treats the number as a whole, rather than as a series of individual numbers. That is, 123 is treated as the number one hundred twenty-three rather than the individual digits one, two, and three.
Negative numbers begin with the word “”negative.””
Currency field values and Number field values are treated in the same way and produce identical results.
Since the spelled out value will be much longer than the Number value, you will need to increase the size of the field box to accommodate the new field length.
——————————————————————————–

Previous page Next page
SAP BusinessObjects
http://www.sap.com/sapbusinessobjects/
Support services
http://service.sap.com/bosap-support/
Product Documentation on the Web
http://help.sap.com/


————————————————– ————————————————– ————————————————–
Appoġġ ta ‘traduzzjoni awtomatika: http://amzn.to/1Z7d5oc
————————————————– ————————————————– ————————————————–

Rapporti Crystal Online Għajnuna
ToWords
Bażiku u Crystal sintassi.
kariki żejda
ToWords (x)
ToWords (x, #places)
ToWords (x, #places, formtype)
argumenti
x hija Numru jew Munita valur li għandu jkun ikkonvertit fil-kliem.
#places huwa numru sħiħ indikat in-numru ta ‘postijiet deċimali li jiġu konvertiti. (Dan l-argument huwa fakultattiv.)
formtype tispeċifika liema tip ta ‘formola x hija. Dan l-argument huwa użat biss għal lingwi speċifikament Ażjatiċi, Ġappuniż, Korean, Ċiniż Simplified, u Ċiniż Tradizzjonali. Huwa injorat għal kwalunkwe lingwa oħra li mhix Ażjatiċi Ingliż jew.
Formola Tip 0 forma klassika, imsejħa wkoll il-formola kontroll
Formola Tip 1 f’forma ta ‘Kuljum
Formola Tip 2 formola Każwali

Nota:
Il-formola ta ‘kuljum għandu l-istess struttura bħal-forma klassika, ħlief li juża sett differenti ta’ karattri għat-numri. Korean, hemm biss sett wieħed ta ‘karattri għal numri, sabiex il-forma ta’ kuljum u l-forma klassika huma l-istess għal din il-lingwa. Il-formola ta ‘kuljum hija wkoll simili għall-istil jintużaw f’oġġetti.
Il-forma każwali huwa użat għall jikkwota numri tat-telefon, indirizzi, u l-bqija.
denunzji
Test String
azzjoni
Tista ‘tuża din il-funzjoni li jikkonverti Numru jew Munita valur kamp jew ir-riżultat ta’ kalkolu numeriku kliem sabiex ikun jista ‘jintuża bħala test. Il-ħila li jaġġustaw l-għadd ta ‘postijiet deċimali jista’ jkun utli meta n-numru hija r-riżultat ta ‘kalkolu li tista’ tipproduċi aktar postijiet deċimali milli suppost trid.
użi tipiċi
Tista ‘tuża din il-funzjoni biex jiċċara l-ammont dollaru għal kull verifika jekk qed tuża kontrolli kompjuter.
eżempji
L-eżempji li ġejjin huma applikabbli kemm sintassi Bażiku u Crystal:
ToWords (12345) Denunzji 12345 u xx / 100.
ToWords (12345.6749,2) Denunzji 12345 u 67/100.
ToWords (12345.4999,0) Denunzji 12345.
ToWords (12345.5000,0) Denunzji 12346.
ToWords (-12345) Denunzji negattiv 12345 u xx / 100.
ToWords (12.3499) Denunzji tnax u 35/100.
ToWords ({AMMONT orders.ORDER}) Denunzji 2016 u 84/100 fejn Ammont = 2,016.84.
ToWords ((({file.QTY1} + {file.QTY2} + {file.QTY3}) * {file.PRICE}) * 1.075) Denunzji 102 u 13/100.
ToWords ((({file.QTY1} + {file.QTY2} + {file.QTY3}) * {file.PRICE}) * 1.075,0) Denunzji 102 fejn QTY1 = 1, QTY2 = 82, QTY3 = 12 , u Price = 1.00 (somom tliet kwantitajiet, timmultiplika minnhom darbiet il-prezz u żżid taxxa tal-bejgħ 7.5%). F’dan il-każ it-tweġiba numerika huwa 102.125 li huwa mbagħad arrotondati għall 102.13 (l-istandard żewġ punti deċimali) qabel it-tqegħid fis-kliem.
kummenti
Il-funzjoni tittratta n-numru bħala entità sħiħa, aktar milli bħala serje ta ‘numri individwali. Jiġifieri, 123 huwa trattat bħala n-numru 123 minflok l-ċifri individwali wieħed, tnejn, u tlieta.
numri negattivi tibda bil-kelma “”negattiva.””
Valuri qasam munita u l-valuri qasam Numru jiġu ttrattati bl-istess mod u jipproduċu riżultati identiċi.
Billi l-valur kif imniżżel se jkun ħafna itwal mill-valur Numru, ser ikollok bżonn biex jiżdied id-daqs tal-kaxxa kamp biex jakkomoda t-tul ġdid grawnd.
————————————————– ——————————

paġna ta ‘qabel paġna li jmiss
SAP BusinessObjects
http://www.sap.com/sapbusinessobjects/
servizzi ta ‘appoġġ
http://service.sap.com/bosap-support/
Dokumentazzjoni prodott fuq il-Web
http://help.sap.com/
 


————————————————– ————————————————– ————————————————–
Ondersteuning masjien vertaling: http://amzn.to/1Z7d5oc
————————————————– ————————————————– ————————————————–

Crystal Reports Online Hulp
ToWords
Basiese en Crystal sintaksis.
oorlaai
ToWords (x)
ToWords (x, #places)
ToWords (x, #places, formtype)
argumente
x is ‘n nommer of Geld waarde te omskep in woorde.
#places is ‘n hele aantal wat die aantal desimale plekke omgeskakel word. (Hierdie argument is opsioneel.)
formtype spesifiseer watter tipe vorm x is. Hierdie argument word slegs gebruik vir Asiatiese tale-spesifiek, Japannees, Koreaans, tradisioneel Chinese en tradisioneel Chinese. Dit is geïgnoreer vir Engels of enige ander nie-Asiatiese taal.
Vorm Tipe 0 klassieke vorm, ook bekend as die tjek vorm
Vorm Tipe 1 Daily vorm
Vorm Tipe 2 Informeel vorm