Actividades
Más reciente
False
Imagen de fondo del banner
Actividades del flujo de trabajo
Última actualización 29 de abr. de 2024

Número aleatorio

Genera un entero aleatorio con una longitud determinada.

Definición

Espacio denombres: UiPath.Testing.API

Ensamblado: UiPath.Testing.Activities.Api (en UiPath.Testing.Activities.Api.dll)

Sobrecargas

  
RandomNumber()Genera un número entero aleatorio.
RandomNumber(Int64, Int64)Genera un número entero aleatorio, considerando un valor mínimo y máximo.
RandomNumber(Int64, Int64, Int32)Genera un número entero aleatorio, considerando un valor mínimo y máximo, así como un número de decimales.

RandomNumber()

Genera un número entero aleatorio.

decimal RandomNumber()decimal RandomNumber()

RandomNumber(Int64, Int64)

Genera un número entero aleatorio, considerando un valor mínimo y máximo.

decimal RandomNumber(
	long min,
	long max
)decimal RandomNumber(
	long min,
	long max
)
min Int64
El valor mínimo (long.MinValue por defecto).
max Int64
El valor máximo (long.MaxValue por defecto).

RandomNumber(Int64, Int64, Int32)

Genera un número entero aleatorio, considerando un valor mínimo y máximo, así como un número de decimales.

decimal RandomNumber(
	long min,
	long max,
	int decimals
)decimal RandomNumber(
	long min,
	long max,
	int decimals
)
min Int64
El valor mínimo (long.MinValue por defecto).
max Int64
El valor máximo (long.MaxValue por defecto).
decimals Int32
El número de decimales (0 por defecto).

ValorDeRetorno

Número generado aleatoriamente.

Was this page helpful?

Obtén la ayuda que necesitas
RPA para el aprendizaje - Cursos de automatización
Foro de la comunidad UiPath
Logotipo blanco de UiPath
Confianza y seguridad
© 2005-2024 UiPath. All rights reserved.