[REBOL] Strange multiply phenomenon
From: swhite::ci::bloomington::mn::us at: 4-Aug-2009 16:20
I have been trying to convert a decimal number, representing dollars and cents, into
a fixed-length string for use in building a fixed-format data file, for sending to a
bank. I have been off by a penny on my current attempt and I have narrowed it down to
the following REBOL statement that I can run at the interpreter prompt, giving the following
result:
>> print to-integer multiply 76.71 100
7670
>>
Can anyone explain this?
Thank you.
Steven White
City of Bloomington
1800 W Old Shakopee Rd
Bloomington MN 55431-3096
USA
952-563-4882 (voice)
952-563-4672 (fax)
steven.white-ci.bloomington.mn.us