Nanda
Nanda

Reputation: 614

converting the numerals as string

Can someone help mo on how to convert a number value to its string value (ie.,1198.00 should be interpreted as Thousand Hundred and ninety eight)

Upvotes: 0

Views: 93

Answers (1)

Oded
Oded

Reputation: 498914

There is nothing built in - you will need to write your own.

Here is one way of doing it, and a quick search finds several other samples to look at.

As a note - all of these approaches suffer from being tied to a single language, so non of them can be used as is for internationalization/localization efforts.

Upvotes: 2

Related Questions