php object float gets rounded code example Example: php how to get decimal after devide $x = 110 % 30;