0

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)

Nanda
  • 604
  • 8
  • 20
  • 2
    Is this homework? It helps if you mark it as such, we then know how to help (i.e. to give more of a teaching answer rather than just "lol here is teh codes"). – Stephen Aug 30 '10 at 10:15
  • possible duplicate of [Converting a decimal to an English string](http://stackoverflow.com/questions/1018548/converting-a-decimal-to-an-english-string) – Binary Worrier Aug 30 '10 at 10:24

1 Answers1

2

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.

Oded
  • 489,969
  • 99
  • 883
  • 1,009