Click here to Skip to main content
15,867,594 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i created a crystal report in that total amount column Rs 5000.i convert the 5000 to words Five thoushand and xx/100.


I want the output as Rupees Five Thoushand only please help me.

how to do.please tell the procedure.
Posted
Comments
MT_ 9-Nov-12 1:06am    
You mean you are able to convert to "Five Thousand and xx/100" but not able to convert to "Rupees Five Thousand Only" ? If yes, share your current code for people to help you.

use this,
'Rupees' + ProperCase(Replace(ToWords (( {sp_AgFinV2Cheque;1.FINALAMT})),’and xx / 100′,’only’))

For more details
visit link
http://datamart.org/2009/06/09/crystal-reports-totext-and-towards-function/

Happy Coding!
:)
 
Share this answer
 
'Rupees ' + ToWords(tonumber({DepositReceipt.Amount}),0) +' Only.'
 
Share this answer
 
Comments
Bestin P S 7-Mar-17 4:27am    
here the lakhs figure not comming out

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