This is a migrated thread and some comments may be shown as answers.

Convert Currency to Words

4 Answers 321 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Amar
Top achievements
Rank 1
Amar asked on 07 Jul 2015, 01:52 PM

Hi,

Need help in converting the currency to words for different  language cultures like "us" and "ru".

What I have is the total of the currency value, say 285630. Now I have to convert it to words for english-US it should be "two hundred eighty-five thousand six hundred thirty" and similarly it should convert accordingly if the language culture is Russian-RU.

Please suggest.

4 Answers, 1 is accepted

Sort by
0
Nasko
Telerik team
answered on 10 Jul 2015, 08:51 AM
Hello Amar,

You can implement a User Function which converts numbers to words, as shown in this thread.

Regards,
Nasko
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Amar
Top achievements
Rank 1
answered on 13 Jul 2015, 03:40 PM
Thanks, but I was already using the same approach. What I was looking for was any standard function in Telerik could have to convert the currency number to words independent of the language culture. If I use my Custom User function then I will have to separately code for each of the required cultures. Hope Telerik can provide such function in future.
0
Nasko
Telerik team
answered on 14 Jul 2015, 07:28 AM
Hello Amar,

Currently, Telerik Reporting does not provide a built-in function to convert numbers to words. You need to use a user function to create the described scenario.

Regards,
Nasko
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Amar
Top achievements
Rank 1
answered on 22 Jul 2015, 09:15 AM
Ok, Thank you !
Tags
General Discussions
Asked by
Amar
Top achievements
Rank 1
Answers by
Nasko
Telerik team
Amar
Top achievements
Rank 1
Share this question
or