Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C#
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 8-Nov-12 18:57pm
Comments
Milind Thakkar at 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.
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

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!
Smile | :)
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

'Rupees ' + ToWords(tonumber({DepositReceipt.Amount}),0) +' Only.'
  Permalink  

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

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 363
1 OriginalGriff 344
2 George Jonsson 238
3 Shemeemsha RA 148
4 Animesh Datta 130
0 OriginalGriff 6,179
1 Sergey Alexandrovich Kryukov 5,616
2 CPallini 4,770
3 George Jonsson 3,400
4 Gihan Liyanage 2,522


Advertise | Privacy | Mobile
Web04 | 2.8.140916.1 | Last Updated 21 Mar 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100