help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-smalltalk] More odd float results


From: J Pfersich
Subject: [Help-smalltalk] More odd float results
Date: Tue, 07 Nov 2006 17:34:13 -0700

I got this...

st> var1 := 20 - 2.2325251 !
17.7674749000000
st> var1 printNl !
17.7674748999999
17.7674749000000

I know that the result isn't far off, but why didn't it round up to 17.7674749?








reply via email to

[Prev in Thread] Current Thread [Next in Thread]