赛捷软件论坛's Archiver

CATHY 发表于 2007-9-15 00:48

about spellmoney

<P><FONT style="BACKGROUND-COLOR: #c9e9dc">who can tell me how to use &nbsp;the function of spellmoney() in Crystal Report?</FONT></P><P><FONT style="BACKGROUND-COLOR: #c9e9dc">spellmoney(totext({order.amt},10,""), "","eng","0")</FONT></P><P><FONT style="BACKGROUND-COLOR: #c9e9dc">who can explain the parameter 2 and parameter 4? Thank you!</FONT></P><p>[此帖子已被 Sherry@SH 在 07-09-15 16:06:20 编辑过]

Sherry@SH 发表于 2007-9-16 00:02

Re:about spellmoney

<P>Sorry for I&nbsp;know little&nbsp;in this additional function...</P><P>I just suppose it could convert the amount from figure to words.Maybe the function is&nbsp;same as "ToWords" ?</P>

CATHY 发表于 2007-9-20 16:58

Re:about spellmoney

<P>The second and fourth parameter of spellmoney&#39;s&nbsp; is string(#decimals) and string(fillvalue). I guess maybe they&nbsp;can truncate the decimal fraction. </P><P><FONT style="BACKGROUND-COLOR: #c9e9dc">totext() are related to crystal versions. it couldn&#39;t designate the language. so if you use chinese version you can get the chinese word. </FONT></P>

CATHY 发表于 2007-9-20 17:00

Re:about spellmoney

<P><FONT style="BACKGROUND-COLOR: #c9e9dc">sorry i have a mistake, totext() should be towords.</FONT></P>

页: [1]

Powered by Discuz! Archiver 7.2  © 2001-2009 Comsenz Inc.