Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: Strange multiply phenomenon

From: swhite:ci:bloomington:mn:us at: 5-Aug-2009 10:00

This is a pretty amazing mailing list. I don't use it a lot, but I have a few times, and every time I have gotten a correct answer faster than some support sites we use here that we pay for. And, except for the incident of a few years ago that I suspect everyone remembers, it is an amazingly polite one. Thank you all.
>>> "Steven White" <> 8/4/2009 4:20 PM >>>
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
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)