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 编辑过]
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" ?
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.
欢迎光临 赛捷软件论坛 (http://sagesoft.cn/bbs/) | Powered by Discuz! 7.2 |