将数字转换为单词印度系统 [英] convert numbers to words Indian system

查看:82
本文介绍了将数字转换为单词印度系统的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果任何人可以帮我一个功能或模块将数字转换为印度数字系统中的单词..........

如1,24, 53,432将读作一个二十四十万五十三数千四百三十二。

If any one can can help me out with a function or module to convert numbers to words in the Indian system of numerals..........
Like 1,24,53,432 will read as one crore twenty four lakhs fifty three thousand four hundred and thirty two.

推荐答案

Ehha!区域设置也不能帮助你!


这必须是字符串!!!而不是数字!
Ehha! The regional settings also can''t help you!

And this have to be string!!! And not number!


所以virgulas在右边的前3个数字之后,在每个下一对之后的2个数字之后是不是吗?
So the virgulas are after the first 3 numbers from the right and 2 after each next couple isn''t it?


这个号码好不好?


24,86,54,54,421

当有小数点时你在做什么?你用的是。也许是这样的:


24,86,54,54,421.56?
And this number is it good?

24,86,54,54,421

And when there is a decimals what are you doing? You use the . maybe like this:

24,86,54,54,421.56 ?


这篇关于将数字转换为单词印度系统的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆