CATHY 当前离线
注册会员
who can tell me how to use the function of spellmoney() in Crystal Report?
spellmoney(totext({order.amt},10,""), "","eng","0")
who can explain the parameter 2 and parameter 4? Thank you!
[此帖子已被 Sherry@SH 在 07-09-15 16:06:20 编辑过]
Sherry@SH 当前离线
金牌会员
Sorry for I know little in this additional function...
I just suppose it could convert the amount from figure to words.Maybe the function is same as "ToWords" ?
TOP
The second and fourth parameter of spellmoney's is string(#decimals) and string(fillvalue). I guess maybe they can truncate the decimal fraction.
totext() are related to crystal versions. it couldn't designate the language. so if you use chinese version you can get the chinese word.
sorry i have a mistake, totext() should be towords.