Rounding Decimals

Overview


Round the number of decimal places in a data stream to something more readable.

 


Syntax

=math.round([data stream], numberDecimalPlaces)

 


Example

=math.round([voltage], 1)

ExpressionsRound1.png

In the example above, the voltage :zap: data stream has numbers out to the 9th decimal place. 

 

ExpressionsRound2.png

Applying the expression, =math.round([voltage :zap:], 1), rounds the number of decimal places to one.

 

Attachments

RTERounding1.jpg RTERounding2.jpg ExpressionsRound1.png ExpressionsRound2.png