Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Applies to: ✅ Azure Data Explorer ✅ Azure Monitor ✅ Microsoft Sentinel
Returns a random number.
rand()
rand(1000)
Syntax
- rand()- returns a value of type- realwith a uniform distribution in the range [0.0, 1.0).
- rand(N- )- returns a value of type- realchosen with a uniform distribution from the set {0.0, 1.0, ..., N - 1}.
Learn more about syntax conventions.