Hi,
asFloat, asInteger, rounded, truncated...
In your case I guess asFloat...
Also, in your operation that lead to a fraction, if you declare a
number as a float (but smalltalk way, you write it), the evalutaion
will result in a float...
(1999/20.00) "print it" instead of (1999/20.00)
so (item value / 100.00) for instance...
Cheers,
Cédrick
_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners