Board logo

标题: about spellmoney [打印本页]

作者: CATHY    时间: 2007-9-15 00:48     标题: about spellmoney

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    时间: 2007-9-16 00:02     标题: Re:about spellmoney

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" ?


作者: CATHY    时间: 2007-9-20 16:58     标题: Re:about spellmoney

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.


作者: CATHY    时间: 2007-9-20 17:00     标题: Re:about spellmoney

sorry i have a mistake, totext() should be towords.






欢迎光临 赛捷软件论坛 (http://sagesoft.cn/bbs/) Powered by Discuz! 7.2