Random Int

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 RandomInt(min int, max int) int
go

Parámetros

Entrada

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

Regresar

Tipo Descripción
Int Random result, integer