Jump to content
Chinese-Forums
  • Sign Up

English-Chinese Number Conversion


Recommended Posts

Posted

:) ni hao!

i'm trying to see if i can make it easier to translate Roman Number into Chinese Characters and Hanyu Pinyin....

(only works from 0 to 99,999) ... play with it if you have time :)

http://chinese.primezero.com/pzcdz/u.php?search=88888

http://chinese.primezero.com/pzcdz/u.php?search=99999

http://chinese.primezero.com/pzcdz/u.php?search=3882

http://chinese.primezero.com/pzcdz/u.php?search=12

  • 2 weeks later...
Posted

improved LING placement algorithms... 8)

this code will be portable soon for anyone who wants to use it also...

Posted

Looks good to me. I even tried to trip it up by adding some decimal points, and although my Chinese knowledge isn't good enough to know how they would really be handled in Chinese (I would think they would use dian "点" but I'm not sure) , the program handled them consistently, so I will assume it's the right way. Good job :)

Posted
Looks good to me. I even tried to trip it up by adding some decimal points, and although my Chinese knowledge isn't good enough to know how they would really be handled in Chinese (I would think they would use dian "点" but I'm not sure) , the program handled them consistently, so I will assume it's the right way. Good job :)

yes, dian. but this is a challenge for me. i've never counted this higher before. i will start working with fractions and decimals soon. but, :oops: i am still having ling problems ... When is Ling used for the Wan and WanWan(Yi)?

thanks for your help.

Posted

:wink: can do fractions and decimals and percentages now ....

sample Queries:

1/2

332.883

88%

0.999999

pi

phi

does anybody know how to do negative numbers in Chinese?

Posted
does anybody know how to do negative numbers in Chinese?

add 负

e.g. 负一(-1), 负一点二(-1.2), 负四(-4), 负五分之一(-1/5), 负pi(-PI), 负一万零三百八十六点二二三(-10386.223)

Posted
does anybody know how to do negative numbers in Chinese?

add 负

e.g. 负一(-1), 负一点二(-1.2), 负四(-4), 负五分之一(-1/5), 负pi(-PI), 负一万零三百八十六点二二三(-10386.223)

xie xie. that's easy. ... i hope. :D

Join the conversation

You can post now and select your username and password later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Click here to reply. Select text to quote.

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...