开发者

converting the numerals as string

Can someone hel开发者_JAVA百科p mo on how to convert a number value to its string value (ie.,1198.00 should be interpreted as Thousand Hundred and ninety eight)


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜