You can try this in javascript:
A) alert( 1.9 * 50 ); = 95
B) alert( 2.9 * 50 ); = 145
C) alert( 3.9 * 50 ); = 195
D) alert( 4.9 * 50 ); = 245.00000000000 003
E) alert( 5.9 * 50 ); = 295
Why D) = 245.00000000000 003 ?
Thanks,
Maori.
A) alert( 1.9 * 50 ); = 95
B) alert( 2.9 * 50 ); = 145
C) alert( 3.9 * 50 ); = 195
D) alert( 4.9 * 50 ); = 245.00000000000 003
E) alert( 5.9 * 50 ); = 295
Why D) = 245.00000000000 003 ?
Thanks,
Maori.
Comment