I need to use the following rounding logic:
Numbers between x.1 and x.9 will be rounded to x.5, ie, you would use examples like this:
1.0 = 1;
1.2 = 1.5;
1.9 = 1.5;
Any ideas on how to do this? I tried to find a PHP function ready but I...
asked by
02.06.2017 / 17:11