Hi Siva, I have tried to use this code. But there is a problem with large amount like 3,000,000,000. This is a bug from data type integer range.... Do you have any good point to solve this?
Thank you very much Khue ----- Original Message ---- From: Siva kumar <[EMAIL PROTECTED]> To: Axapta-Knowledge-Village@yahoogroups.com Sent: Wednesday, May 31, 2006 4:36:26 PM Subject: RE: [Axapta-Knowledge-Village] how to convert Real value as a string? Hi, For printing the paise just modified the numeralstotxt() as case 100 : { _test = _test MOD 100; // Modified to be done if(_test==0) returntxt = returntxt + ' ' + hundreds; else returntxt = returntxt + ' ' + hundreds + ' ' + "@SYS5534" ; // End Modification break; } && if (numOfPennies) { if(returntxt) returntxt = returntxt + ' ' + "@SYS5534" + ' ' + numeralstotxt(numOfPennies) + ' Paise only'; else returntxt = numeralstotxt(numOfPennies) + ' Paise only'; } else { returntxt = returntxt } It will fullfil the requirement. regards, Siva "Nihar Ranjan Samal - Software Engineer (Enterprise Solutions Practice) - SIS" <[EMAIL PROTECTED]> wrote: hi, if u want to print paise u need to chage the code which i have given u if (numOfPennies) { returntxt = '***' + returntxt + ' ' + "@SYS5534" + ' ' + num2str(numOfPennies,0,0,0,0) + 'paise';//'/100'; } else { returntxt = '***' + returntxt + ' ' + "@SYS5534" + ' ' + 'paise';//'00/100'; } hope that sholud satisfy ur answer regards nihar -----Original Message----- From: Axapta-Knowledge-Village@yahoogroups.com [mailto:[EMAIL PROTECTED] Behalf Of [EMAIL PROTECTED] Sent: Tuesday, May 30, 2006 9:41 AM To: Axapta-Knowledge-Village@yahoogroups.com Subject: Re: [Axapta-Knowledge-Village] how to convert Real value as a string? hi, i hav altered the code what nihar said. but, it shows one lakh two hundred thousand and 50/100 for the value 1200000.50. but, i want to display as 12 lakhs and 50 paise. i think to do this, i hav to change the entire code. how do i do? regs, Hema. S "Dhiraj yadav" <[EMAIL PROTECTED]> To: Axapta-Knowledge-Village@yahoogroups.com Sent by: cc: [EMAIL PROTECTED] Subject: Re: [Axapta-Knowledge-Village] how to convert Real value as groups.com a string? 05/29/2006 05:52 PM Please respond to Axapta-Knowledge-Village NIhar is right . plz do as nihar said. comment millon and write crore at that position . if u will fail to do so i will give the entire code On 5/27/06, vijay karthik <[EMAIL PROTECTED]> wrote: > > hi, > i need for help regarding a real value as converted into string. for > example: > real value : 1200.00 rs, this value is converted in to 'One Thousand Two > hundred'. > Is there any inbuilt function in Axapta. > > help me... > Thanks in advance.. > regards, > vijaykarthik.k > > Send instant messages to your online friends http://uk.messenger.yahoo.com > > [Non-text portions of this message have been removed] > > > > > Sharing the knowledge on Axapta. > Visit www.frappr.com/axapta for axapta friends. > Yahoo! Groups Links > > > > > > > > [Non-text portions of this message have been removed] Sharing the knowledge on Axapta. Visit www.frappr.com/axapta for axapta friends. SPONSORED LINKS Business finance Business to Small business course business finance finance Business finance Business finance Business finance consultant magazine schools YAHOO! GROUPS LINKS Visit your group "Axapta-Knowledge-Village" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. Sharing the knowledge on Axapta. Visit www.frappr.com/axapta for axapta friends. Yahoo! Groups Links "Nihar Ranjan Samal - Software Engineer (Enterprise Solutions Practice) - SIS" <[EMAIL PROTECTED]> ___________________________________________________________________________ Visit us at www.sundaraminfotech.in ___________________________________________________________________________ This E-mail may contain privileged information and is intended solely for the addressee, and any disclosure of this information is strictly prohibited, and may be unlawful. If you have received this mail by mistake, please inform us immediately and delete this mail. Any information expressed in this mail does not necessarily reflect the views of SUNDARAM INFOTECH SOLUTIONS. As per SUNDARAM INFOTECH SOLUTIONS's policy, unencrypted mail via Internet is not considered secure. ___________________________________________________________________________ Sharing the knowledge on Axapta. Visit www.frappr.com/axapta for axapta friends. SPONSORED LINKS Business finance course Business to business finance Small business finance Business finance consultant Business finance magazine Business finance schools --------------------------------- YAHOO! GROUPS LINKS Visit your group "Axapta-Knowledge-Village" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. --------------------------------- We Born to Win... --------------------------------- Be a chatter box. Enjoy free PC-to-PC calls with Yahoo! Messenger with Voice. [Non-text portions of this message have been removed] Sharing the knowledge on Axapta. Visit www.frappr.com/axapta for axapta friends. SPONSORED LINKS Business finance course Business to business finance Small business finance Business finance consultant Business finance magazine Business finance schools YAHOO! GROUPS LINKS Visit your group "Axapta-Knowledge-Village" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com [Non-text portions of this message have been removed]