Multiply the amount by 100, I would think.


From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Larry Wilson
Sent: Thursday, 15 September 2005 2:51 p.m.
To: RBASE-L Mailing List
Subject: [RBASE-L] - Removinf Decimal point from double or currency data types

Hello List:

 

I have an application that is sending data to a mainframe and the data includes a currency data type.

 

I need to strip out the decimal point from the currency value but still keep the cents

 

Example  $25.45 needs to be 2545

 

Any Ideas or suggestion would be greatly appreciated.

 

TIA

 

Larry Wilson

 

 

____________________________________________________________________
CAUTION - This message may contain privileged and confidential
information intended only for the use of the addressee named above.
If you are not the intended recipient of this message you are hereby
notified that any use, dissemination, distribution or reproduction
of this message is prohibited. If you have received this message in
error please notify Air New Zealand immediately. Any views expressed
in this message are those of the individual sender and may not
necessarily reflect the views of Air New Zealand.
_____________________________________________________________________
For more information on the Air New Zealand Group, visit us online
at http://www.airnewzealand.com
_____________________________________________________________________

Reply via email to