我不想四舍五入174.90

时间:2018-11-24 08:21:19

标签: crystal-reports

答案为(“仅175和90个比萨”)174.90

我想要这个(“仅174个和90个比萨饼” 174.90

我已经应用了

    if right(Towords({Invoice_Detail.After_Invoice_Discount_Total}),2 * 100)="00" 
    then
    Lcase(ToWords({Invoice_Detail.After_Invoice_Discount_Total},0))+" "+"only"
    else 
    Lcase(ToWords({Invoice_Detail.After_Invoice_Discount_Total},0))+" and 
"+Lcase(ToWords(tonumber(right(Totext({Invoice_Detail.After_Invoice_Discount_Tota
l}),2)),0))+" "+"paisa only"

0 个答案:

没有答案