cuthereguys
June 5th, 2007, 12:13 AM
Please help to advoce how to convert a number into text (Chinese characters). For example, to display $2880.85 into:
貳仟捌佰捌拾元捌拾伍仙
Thanks
貳仟捌佰捌拾元捌拾伍仙
Thanks
|
Click to See Complete Forum and Search --> : Convert number into Chinese Text cuthereguys June 5th, 2007, 12:13 AM Please help to advoce how to convert a number into text (Chinese characters). For example, to display $2880.85 into: 貳仟捌佰捌拾元捌拾伍仙 Thanks lil.pineapple June 5th, 2007, 12:24 AM how about making out a formular like if = 2 then...? other wise is quite hard... due to chinese have to enter the 佰捌, 元 and 仙... thats difficult cuthereguys June 5th, 2007, 01:05 AM I can create a mapping but need to identify the correct location of the digit first. In this example, how do I separate the 2 from the entire figure so that it is equal to 2000 first, and the 1st 8 is 800, and so forth for the rest of the digits? What is the formula to do this identification? If I can tick out the correct place of the digits, then I can map it to the correct translation, say if X's dec. place is in thousand, then translate 2 to Chinese text + the chinese thousand sign.... Pls help to define the formula to tick out the digits' dec. place...Thanks codeguru.com
Copyright WebMediaBrands Inc., All Rights Reserved. |