Yngvarr

Generation

generate functionFri, 27 Jan 2023

random float

function random_float($min, $max) { return $min + mt_rand() / mt_getrandmax() * ($max - $min); }

Questions about programming?Chat with your personal AI assistant