RAND Function

Office 2013 and later

Last modified: June 17, 2011

Applies to: Office 2013 | Visio 2013

In this article
Syntax
Remarks
Example

Returns a random floating point number from 0.0 to 1.0. It returns a different number each time the function is evaluated, which is once per minute according to the system clock.

RAND( )

Return Value

Float

You can use this function to create animation effects by setting the properties of shapes to random values.

RAND( )

Returns a decimal fraction, such as 0.3503.

Show: