ezeio documentation
ezeio documentation

  1. Trace
  2. Celsius to Kelvin
  3. Alarm Information
  4. Random number

ezeio2:expref:rand

eze System Documentation

eze System Documentation

Go to eze.io

  • IMPORTANT INFORMATION
  • Introduction to the ezeio
  • Registration
  • Indicators
  • Installing the ezeio
  • Connecting Sensors and Peripherals
  • User Interface
  • Drivers
  • Expressions
  • Script reference
  • API reference
  • ezeio MkII I/O Expander (TEMPORARILY UNAVAILABLE)
  • Share via
    • Share via...
    • Twitter
    • LinkedIn
    • Facebook
    • Pinterest
    • Telegram
    • WhatsApp
    • Yammer
    • Reddit
  • Print
  • Permalink

Random number

rand( a )

Returns a random number between 0 and a.

Description

rand( a )

Returns a random number between 0 (inclusive) and a (exclusive).

Parameters

a Upper limit for random number

Return value

This function returns a random number.

Example usage

rand(100)
  • ezeio2/expref/rand.txt
  • Last modified: 2019-09-02 18:53
  • by andreh
Log In