website logo
Navigate through spaces
ChartHop documentation
⌘K
ChartHop Help Center
Getting around in ChartHop
ChartHop for Employees
Implementing ChartHop
ChartHop for Administrators
Carrot reference
ChartHop for Developers
Partners
Release notes
Resources
Docs powered by archbee 
website logo

roundUp()

Rounds a given value to the next largest integer.

Syntax

roundUp(number[, places])

  • number - the Number value to be evaluated.
  • places (optional) - the number of places of the returned Number value.
  • Return type: Number

Sample usage

roundUp(4.5678, 2) returns 4.57

roundUp(4.5678) returns 5

Supported data types

Input type

Return type

Logic

Number

Number

If a Number value is passed, that Number value will be rounded up to the defined number of decimal places. Defaults to zero decimal places.

Unsupported data types

Null

Unsupported data types return Null.



Updated 03 May 2023
Did this page help you?
Yes
No
PREVIOUS
round()
NEXT
roundDown()
Docs powered by archbee 
TABLE OF CONTENTS
Syntax
Sample usage
Supported data types