RandomRange returns a random number between the specified values and truncated to the specified number of decimal places.
RandomRange (from;to;trunk)
If (
trunc = 0 ;
Truncate ( Random * ((to + 1) - From) ; trunc ) + from ;
Truncate ( Random * (to - from) ; trunc ) + from
)
