formZ SDK | 5.0 API Reference | System | Math

# fz_math_random_range

Description

Generates a random number in the range min ... max.

Plugin Prototype

double fz_math_random_range(

double | min,
double | max )

Parameters

min [Input]

minimum value of the random number

max [Input]

maximum value of the random number

Returns

Randomly generated number

Availability

5.0.0.0

Example Files

util_math_2d.fsl

See Also

fz_math_is_valid_double

Function Set

fz_math_fset

Defined in

fz_math_api.h