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

[REBOL] Re: convert money values to integer?

From: tim-johnsons:web at: 26-Aug-2007 12:00

On Sunday 26 August 2007, Kai Peters wrote:
> Wow - I expected this to work: > > a: $100
Strings are handy for that...
> print to-integer a >> to-integer next to-string a
== 100 ;; next:
> a: %=$4.95
I'm not sure of assignment above. Did you mailer add something? ;; similarly:
>> a: $4.95
== $4.95