Writing amount in words

The 1C:Enterprise developers forum

#1
People who like this:0Yes/0No
Active user
Rating: 5
Joined: Sep 27, 2011
Company:

Hello!

I need to output amount as words, for example: €1332.43 as "One thousand, three hundred and thirty two euros and fourty three cents". Is there something built-in in 1C or if someone have a sample function for that?

 
#2
People who like this:0Yes/0No
Just came
Rating: 0
Joined: Jul 5, 2012
Company:

You can use something like

Code
NumberInWords(1332.43, "L='en_US '; FS='true'", "euro, euros, М, cent, cent, M, 2");

the return value will be "One thousand three hundred thirty two euros forty three cent"

 
#3
People who like this:0Yes/0No
Active user
Rating: 5
Joined: Sep 27, 2011
Company:

Thanks, Andrew!

 
Subscribe
Users browsing this topic (guests: 1, registered: 0, hidden: 0)
Be the first to know tips & tricks on business application development!

A confirmation e-mail has been sent to the e-mail address you provided .

Click the link in the e-mail to confirm and activate the subscription.