Search

 

Module: Editor

Version: 2.2.1 +

Type: Double

Category: Math

 

Description

The formula 'RoundUp' rounds a number up to a specified number of digits. A negative number of digits rounds down left of the decimal. The formula 'RoundUp' always rounds the number up and not to the nearest number.

Parameters

Number:          Here you refer to or fill in the number that has to be rounded.

Num_digits:     Here you fill in the amount of digits

Example

Description

In the following examples you can see how the formula 'RoundUp' works.

Values parameters

Number:        2.415

Num_digits:   1

Result

Result:           2.5

Values parameters

Number:        2.415

Num_digits:   0

Result

Result:           3

Values parameters double

Number:

123.25

Num_digits:

-1

Result double

Result:

130

Related Topics

- Round: The formula 'Round' for a double rounds a number to a specified number of digits. The formula 'Round' for an integer rounds a real number to the nearest even integer.

- RoundDown: The formula 'RoundDown' rounds a number down to a specified number of digits.

Feedback

If you have any questions about this subject or if you want to provide us feedback please send us an e-mail.

Updated: 2014-09-24