Transform values in float before % done computing