how to turn int 0 to 100 to float 0 to 1.0 code example Example: php how to get decimal after devide $x = 110 % 30;