79652776

Date: 2025-06-04 12:41:21
Score: 0.5
Natty:
Report link

Here's a function that will work with any range:

function multiplier($min,$max,$costant=100){
    return mt_rand($min*$costant,$max*$costant)/$costant;
}
echo multiplier(0,1,10000);

You can adjust precision increasing/decreasing the constant.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Alessandro