About number to string?



The 1C:Enterprise developers forum

#1
People who like this:0Yes/0No
Just came
Rating: 1
Joined: Oct 9, 2018
Company: Ötüken Teknoloji Araştırma Geliştirme Eğitim Hizmetleri Ticaret Limited Şirketi

Hi,
I want number to string.
Example:

10 TL = ON TL
$10 = TEN USD

 
#2
People who like this:0Yes/0No
Administrator
Rating: 22
Joined: Dec 4, 2017
Company:

Dear Erdoğan Uğuz,

To get a string representation of a number, you can use the NumberInWords() global context function.

It supports many languages including Turkish.

You can learn about the function's usage from Syntax Assistant.

Best regards,
Vladimir Gurov

1C Company support team
 
#3
People who like this:0Yes/0No
Just came
Rating: 0
Joined: Jan 10, 2019
Company: 1c developer

TextString = NumberInWords(123.45, "L=en_US", "dollar, dollars, cent, cents, 2")

=>

One hundred twenty three dollars 45 cents

 
Subscribe