Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Converting number to words in Crystal Reports

How can you convert a number to its written-equivalent in a formula?

For example, 10000 is converted to Ten Thousand.

like image 839
Sensa Avatar asked Apr 12 '12 19:04

Sensa


People also ask

What is Totext in Crystal Reports?

Converts values of different data types into a string representation of the value.


1 Answers

You want to use the ToWords() and ProperCase() functions.

//{@Convert}
// returns Ten Thousand
ProperCase( ToWords(10000, 0) )
like image 148
craig Avatar answered Oct 10 '22 00:10

craig