---
category: [Administration & Integrations, Platform and Product Extensions, Platform and Product Extensions/Integration, Administration & Integrations/Custom Integrations & Apps, Platform and Product Extensions/Workday Extend]
keyword: [Extend, Orchestration Builder, Orchestrate, Orchestration]
nav: wcp_docs
parent_url: /wcp_docs/
title: >- 
  Reference: Number Member Functions
layout: subsection
---

<a id="section_N10022_N1001F_N10001"></a>
<b>Instance Type: Number</b>

<table><thead><tr><th>Name</th><th>Description</th></tr></thead><tbody><tr><td>abs</td><td>Arguments: <ul><li>None
</li></ul> <p>Return Type:</p><ul><li>Number
</li></ul><p>Returns the absolute value of the specified number.</p></td></tr><tr><td>ceil</td><td>Arguments: <ul><li>None
</li></ul> <p>Return Type:</p><ul><li>Number
</li></ul><p>Returns the smallest integer that is less than or equal to the specified number.</p></td></tr><tr><td>currencyFormat</td><td>Arguments: <ul><li>locale (String)
</li></ul> <p>Return Type:</p><ul><li>String
</li></ul><p>Returns the number as a currency using the specified locale. Example: en_US.</p></td></tr><tr><td>equals</td><td>Arguments: <ul><li>N (Number)
</li></ul> <p>Return Type:</p><ul><li>Boolean
</li></ul><p>Returns true if the number is equal to the specified number.</p></td></tr><tr><td>floor</td><td>Arguments: <ul><li>None
</li></ul> <p>Return Type:</p><ul><li>Number
</li></ul><p>Returns the largest integer that is less than or equal to the specified number.</p></td></tr><tr><td>format</td><td>Arguments: <ul><li>pattern (String)
</li></ul> <p>Return Type:</p><ul><li>String
</li></ul><p>Returns the number as a string using the specified format. See: <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/text/DecimalFormat.html">https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/text/DecimalFormat.html</a></p></td></tr><tr><td>greaterThan</td><td>Arguments: <ul><li>N (Number)
</li></ul> <p>Return Type:</p><ul><li>Boolean
</li></ul><p>Returns true if the number is greater than the specified number.</p></td></tr><tr><td>greaterThanOrEquals</td><td>Arguments: <ul><li>N (Number)
</li></ul> <p>Return Type:</p><ul><li>Boolean
</li></ul><p>Returns true if the number is greater than or equal to the specified number.</p></td></tr><tr><td>is2xxStatusCode</td><td>Arguments: <ul><li>None
</li></ul> <p>Return Type:</p><ul><li>Boolean
</li></ul><p>Returns true if the number is an integer in the range 200 to 299.</p></td></tr><tr><td>lessThan</td><td>Arguments: <ul><li>N (Number)
</li></ul> <p>Return Type:</p><ul><li>Boolean
</li></ul><p>Returns true if the number is less than the specified number.</p></td></tr><tr><td>lessThanOrEquals</td><td>Arguments: <ul><li>N (Number)
</li></ul> <p>Return Type:</p><ul><li>Boolean
</li></ul><p>Returns true if the number is less than or equal to the specified number.</p></td></tr><tr><td>notEquals</td><td>Arguments: <ul><li>N (Number)
</li></ul> <p>Return Type:</p><ul><li>Boolean
</li></ul><p>Returns true if the number is not equal to the specified number.</p></td></tr><tr><td>round</td><td>Arguments: <ul><li>None
</li></ul> <p>Return Type:</p><ul><li>Number
</li></ul><p>Returns the number rounded to the closest integer. If the fractional part is 0.5, the number is rounded up.</p></td></tr><tr><td>roundHalfToEven</td><td>Arguments: <ul><li>None
</li></ul> <p>Return Type:</p><ul><li>Number
</li></ul><p>Returns the number rounded to the closest integer, rounding even halves to the nearest even number.</p></td></tr><tr><td>toBigDecimal</td><td>Arguments: <ul><li>None
</li></ul> <p>Return Type:</p><ul><li>Number
</li></ul><p>Returns the value of the number as a BigDecimal, which might involve a narrowing primitive conversion.</p></td></tr><tr><td>toDouble</td><td>Arguments: <ul><li>None
</li></ul> <p>Return Type:</p><ul><li>Number
</li></ul><p>Returns the value of the number as a Double, which might involve a narrowing primitive conversion.</p></td></tr><tr><td>toFloat</td><td>Arguments: <ul><li>None
</li></ul> <p>Return Type:</p><ul><li>Number
</li></ul><p>Returns the value of the number as a Float, which might involve a narrowing primitive conversion.</p></td></tr><tr><td>toInt</td><td>Arguments: <ul><li>None
</li></ul> <p>Return Type:</p><ul><li>Number
</li></ul><p>Returns the value of the number as an Integer, which might involve a narrowing primitive conversion.</p></td></tr><tr><td>toLong</td><td>Arguments: <ul><li>None
</li></ul> <p>Return Type:</p><ul><li>Number
</li></ul><p>Returns the value of the number as a Long, which might involve a narrowing primitive conversion.</p></td></tr><tr><td>toString</td><td>Arguments: <ul><li>None
</li></ul> <p>Return Type:</p><ul><li>String
</li></ul><p>Returns a string representation of the value.</p></td></tr><tr><td>trunc</td><td>Arguments: <ul><li>None
</li></ul> <p>Return Type:</p><ul><li>Number
</li></ul><p>Returns the number rounded to the nearest integer by truncating the fractional part.</p></td></tr></tbody></table><br/>

