Random Float

Math
Tanto lado del cliente como del usuario
Disponible en PC y móvil

Generate a random integer between the minimum integer (included) and the maximum integer (not included)

Declaración

func RandomFloat(min float, max float) float
go

Parámetros

Entrada

Nombre Tipo Descripción
Min Float The left interval of the random range. May randomly get the filled value
Max Float The right interval of the random range. Will not randomly get the filled value

Regresar

Tipo Descripción
Float Random result, decimal, accurate to 7 decimal places