📜  php 随机数生成器工具 : https: arandomgenerator.com random-number-generator-decimal - PHP 代码示例

📅  最后修改于: 2022-03-11 14:54:21.243000             🧑  作者: Mango

代码示例1
function Randomint($min,$max,$quantity){

for ($i = 0; $i < $quantity; ++$i)
{
    print ("
"); $num = (rand($min,$max)); print ((float) $num); } } echo ( Randomint($min,$max,$quantity) );