Conversion of Numeric to Words

mramcn

Active Member
Hi List,


I'm Converting the Total Amount into words in the
Invoice Print Program(R42565)using the BSFN
ConvertNumericValueToWords, Source Module X00500.

After the Conversion i'm able to get only the numeric
part in words and not the decimal part.

For Ex:

Total Amount : 47.50$

Amount in words appears FORTY SEVEN AND
50/100
 

Christian Audet

Moderator
Staff member
Hi "No Name",

I know this function (X00500) and in the last version that I checked it was not design to translate the decimal part. If this is your need you have at least two option :

1- Modify the function to translate the decimal part, with a little bit of 'C' knowledge you will be able to do it because the function is not very complex.

2- (This is my idea and it was not tested) The other option is to call the function one time for the whole number and a second time for the decimal part.

Next time, provide us with your configuration !

Christian Audet



Implementing B7333 (Xe) SP14.1, SQL
(Support B732, B7331 and B7332)
 

crowd_controller

Active Member
The Conversion BSFN does this much only, if u want to get the decimal part
in words modify the BSFN.

Cheerio..sid

Siddhartha Arya
Associate
HPS Global Systems Pte. Ltd
#14 Prudential Tower, Cecil Street
Singapore
+65-90670625
=====
Work like you don't need the money. Love like you've never been hurt.
Dance like nobody's watching.




----Original Message Follows----
From: mramcn@yahoo.com
Reply-To: jdeowdev@jdelist.com
To: sid_arya@hotmail.com
Subject: Conversion of Numeric to Words
Date: Sat, 22 Sep 2001 07:19:01 -0700 (PDT)

Hi List,


I'm Converting the Total Amount into words in the
Invoice Print Program(R42565)using the BSFN
ConvertNumericValueToWords, Source Module X00500.

After the Conversion i'm able to get only the numeric
part in words and not the decimal part.

For Ex:

Total Amount : 47.50$

Amount in words appears FORTY SEVEN AND
50/100


--------------------------
 
Top