math accuracy

edited November 2014 in Programming Questions

Hi,

I don't know exactly what's the problem but I have noticed that Processing is very bad making math operations! For example,

double var = (1875*16)/67.0;

For Processing, var = 447.7611999511719, but the result is 447,76119402985075 I don't understand anything...

r.

Tagged:

Answers

Sign In or Register to comment.