ezeio documentation
ezeio documentation

  1. Trace
  2. This (field/alarm number)
  3. Uptime
  4. Arc Tangent
  5. Round

ezeio2:expref:round

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
  • Share via
    • Share via...
    • Twitter
    • LinkedIn
    • Facebook
    • Pinterest
    • Telegram
    • WhatsApp
    • Yammer
    • Reddit
  • Print
  • Permalink

Round

round( a )

Returns a rounded to the nearest integer.

Description

round( a )

Returns the value of a rounded to the nearest integer, or away from zero if the fraction is 0.5.

Parameters

a Value

Return value

This function returns a rounded to the nearest integer.

Example usage

round(7.89)

Returns 8.

  • ezeio2/expref/round.txt
  • Last modified: 2019-09-02 18:53
  • by andreh
Log In