NumtoWord (in a payment receipt)
Posted: Sun May 10, 2020 4:24 pm
I made :
FWNumFormat( "E", .t. ) // European format
FW_N2WSETUP( 6 ) //Italian
...
oPrn:cmSay( 3.2,8.6,FW_NUMTOWORDS(nImporto,"Euro", "centesimi" ), oFnt3 )
and I have this
the problems is ( on italian language )
1. although I specified "euro" and not "euros" the function continues to print "Euros"
2. the word "cents" should be placed at the end and not after the "e" and before the cents value
3. In Italian the cents must be printed with a slash "/" instead of the "e"
4. there must be no spaces between words , or there must be an option to separate words sample lSeparation
so the sentence should be printed like this:
Euro trecentocinquantacinque/67
or
Euro trecentocinquantacinque/67 centesimi
at this url https://www.blia.it/cifralettere/ there is a test that transcribes the amounts in Italian
To write the amount in letters, the cents must be written in numbers after a bar.
Example:
- 150 euro e 25 cent are written centocinquanta/25 (150.25)
- 150 euro are written centocinquanta/00 ( 150.00)
Other notations such as:
- centoventicinque/13 centesimi (125.13)
- centoventicinque e tredici centesimi (125.13)
- centoventicinque e 13 centesimi (125.13)
- centoventicinque e tredici cent (125.13)
- centocinquanta no cent ( 150.00)
on Jun 06, 2017 on this topic http://forums.fivetechsupport.com/viewt ... ds#p202527
I allready explained the errors for Italian language
it probably hasn't been fixed yet
FWNumFormat( "E", .t. ) // European format
FW_N2WSETUP( 6 ) //Italian
...
oPrn:cmSay( 3.2,8.6,FW_NUMTOWORDS(nImporto,"Euro", "centesimi" ), oFnt3 )
and I have this
the problems is ( on italian language )
1. although I specified "euro" and not "euros" the function continues to print "Euros"
2. the word "cents" should be placed at the end and not after the "e" and before the cents value
3. In Italian the cents must be printed with a slash "/" instead of the "e"
4. there must be no spaces between words , or there must be an option to separate words sample lSeparation
so the sentence should be printed like this:
Euro trecentocinquantacinque/67
or
Euro trecentocinquantacinque/67 centesimi
at this url https://www.blia.it/cifralettere/ there is a test that transcribes the amounts in Italian
To write the amount in letters, the cents must be written in numbers after a bar.
Example:
- 150 euro e 25 cent are written centocinquanta/25 (150.25)
- 150 euro are written centocinquanta/00 ( 150.00)
Other notations such as:
- centoventicinque/13 centesimi (125.13)
- centoventicinque e tredici centesimi (125.13)
- centoventicinque e 13 centesimi (125.13)
- centoventicinque e tredici cent (125.13)
- centocinquanta no cent ( 150.00)
on Jun 06, 2017 on this topic http://forums.fivetechsupport.com/viewt ... ds#p202527
I allready explained the errors for Italian language
it probably hasn't been fixed yet