php add decimal seper to number based on scale code example Example: php how to get decimal after devide $x = 110 % 30;