Round

Rounds to a specified number of digits. The function rounds the input data according to the given number of digits. Round algorithm does not touch the raw data in the database.

Please keep this in mind when using the Round function output for further calculations.

Syntax

 Round(expression, # of digits)
  • expression: signal expression
  • # of digits - integer numberRound("produced oil per time increment" in "m3", number of digits)

Example

 Round("produced water per time increment" in "STB",2)

As you see in the following table the Round function applied on the 'original signal' as input:

 

Date/Time

 

Original Signal1

 

Round(Signal1)

 

01.02.2007 00:00

321.9492825

321.95

01.03.2007 00:00

358.6753488

358.68

01.04.2007 00:00

353.7467425

353.75

01.05.2007 00:00

347.2282632

347.23

01.06.2007 00:00

327.6728253

327.67

01.07.2007 00:00

0.4769619

0.48

01.08.2007 00:00

212.8839947

212.88

01.09.2007 00:00

300.8039716

300.8