[TxMt] Re: rounding bug in Math bundle...

Timothy Bates timothy.c.bates at gmail.com
Tue Dec 1 15:54:58 UTC 2009


What else did you expect? It's using a calculator not a symbolic math  
package, so 71.99999999999999999999 is spot on.


On 1 Dec 2009, at 3:34 PM, Ale Muñoz wrote:
> - Open a new document
> - Paste this:
>
> ((72 / 2.54) * 2.54)
>
> - Run the "Evaluate Line" command from the Math bundle.
> - Wonder where the result came from:
>
> ((72 / 2.54) * 2.54) = 71.99999999999999999999
>
> Really.
>
>
> -- 
> Ale Muñoz
> http://sofanaranja.com
> http://bomberstudios.com
>
> _______________________________________________
> textmate mailing list
> textmate at lists.macromates.com
> http://lists.macromates.com/listinfo/textmate




More information about the textmate mailing list