Click here to Skip to main content
15,879,239 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
ToWords ({Netpay.NetPay})

i am converting Number to Words in crystal report using formula.

i am using this formula ToWords ({Netpay.NetPay}) output as forty six thousand four hundred ninety two and xx/100.

But i want the output as Forty six thousand four hundred ninety two

ToWords ({Netpay.NetPay})
In the above formula what change i want to do. to get the output as Forty six thousand four hundred ninety two. please help me.
Posted

1 solution

use this,

replace(ToWords({NetPay.NetPay}),' and xx / 100',' Only')


Happy Coding!
:)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900