Does this explain it for you?
printf "%.17f\n", 1.15 - 1;; 0.14999999999999991 [download]
In reply to Re: Strange int behaviour? by BrowserUk in thread Strange int behaviour? by DreamT