From: Tom Sawyer Date: 2002-12-27T15:37:49+09:00 Subject: Re: 1210 / 100 = 12? what? On Thursday 26 December 2002 11:27 pm, Tom Sawyer wrote: > no i didn't realize that. i thought ruby would automatically change it to a > float if need be, i.e. with divison, just as it changes to Bignum if need > be. > > honestly i don't like it. now i have to go around adding .0's all over the > place to make sure the math comes out right. and in some places i have to > do things like multiple by 1.0 b/c certain values come from cgi script > variables i have no control over. note to self: .to_f not * 1.0