Yngvarr

Generation

generate functionFri, 27 Jan 2023

random float

function randFloat($min, $max) { return ($min + lcg_value() * (abs($max - $min))); } randFloat(1, 10);

Questions about programming?Chat with your personal AI assistant