1.15 * 100 // 115 correct
(int)(1.15 * 100) // 114 incorrect
intval(1.15 * 100) // 114 incorrect
floor(1.15 * 100) // 114 incorrect
floor(1.1501 * 100) // 115 correct
I try to cut off the fractional part after the 2nd character and translate it into an integer. It turns out with an error. Tell me how to correctly translate.