[TxMt] Re: rounding bug in Math bundle...
Ale Muñoz
bomberstudios at gmail.com
Tue Dec 1 16:31:57 UTC 2009
I expected something akin to what every decent tool out there produces:
$ ruby -e "puts (72/2.54)*2.54"
72.0
$ php -r "echo((72/2.54)*2.54);"
72
$ perl -e "print ((72/2.54)*2.54)"
72
heck, even JavaScript gets it right...
Funnily enough, the "Send Line to Google Calculator" on the same
bundle gets it right...
--
Ale Muñoz
http://sofanaranja.com
http://bomberstudios.com
More information about the textmate
mailing list