返回列表 发帖

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 编辑过]

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

TOP

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.

TOP

Re:about spellmoney

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

TOP

返回列表