I am using JMP15.
I recently realized that a script I've used for some time had a small error in it that stems from a floating point quirk which is illustrated below.
The first two lines calculate the same number -> 23.
When I use the ceiling function, the first version returns 24 and the second returns 23.
Should this be happening?
show(((1104/2016)*42));
show(((42*1104/2016)));
show(ceiling((1104/2016)*42));
show(ceiling((42*1104/2016)));
/*:
(1104 / 2016) * 42 = 23;
42 * 1104 / 2016 = 23;
Ceiling((1104 / 2016) * 42) = 24;
Ceiling(42 * 1104 / 2016) = 23;