> For the complete documentation index, see [llms.txt](https://docs.keyfax.biz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.keyfax.biz/product-suite/admin/databox-expressions/numeric-expressions/number.md).

# Number

Processes the Databox value as numeric.

Processes the Databox value as numeric. If the Databox value is non-numeric, this expression will not work.

<table><thead><tr><th>Expression</th><th width="188">Databox Value</th><th width="98">Result</th><th>Comments</th></tr></thead><tbody><tr><td><code>Number > 12</code></td><td>12.34</td><td>True</td><td>Processes the Databox Value as Numeric and asks whether the Value is greater than the specified number – in this case 12</td></tr><tr><td><code>Number Format("F2")</code></td><td>12.3456</td><td>512.3</td><td>Will round to specified decimal places (“F2”)= 2 decimal places</td></tr></tbody></table>

#### Example

Numeric Expressions can be used in a variety of ways from quite simple maths to more advanced arithmetic. This allows a ‘behind the scenes’ approach to scripting; to only ask the necessary questions and to let the scripting do the work.&#x20;

For example, let's work out whether an applicant for a mortgage rescue scheme has secured debt over the 120% criteria.

With just three Questions and Expressions, we can direct the script to ask the next question, knowing that the answer has already been worked out ‘in the background’ - (the last Message shows the Values of the Databoxes):

<figure><img src="https://2882349412-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MARm6St_qFGM52R3pBa%2Fuploads%2Fabc3gBKF1t7Q2TKpcYD8%2F2023-06-20_15h30_26.png?alt=media&amp;token=82b75542-9c67-4f7f-9923-df836d92f9bb" alt=""><figcaption><p>Collecting the information</p></figcaption></figure>

<div><figure><img src="https://2882349412-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MARm6St_qFGM52R3pBa%2Fuploads%2FewhMYkzDRBXIfePXysez%2F2023-06-20_15h31_24.png?alt=media&amp;token=8ff8a062-66cb-49c4-b89c-065e2a25bf3e" alt=""><figcaption><p>The GreaterThan Databox &#x26; Expression</p></figcaption></figure> <figure><img src="https://2882349412-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MARm6St_qFGM52R3pBa%2Fuploads%2FYaCcSwk6vocd4e6WAqtZ%2F2023-06-20_15h31_41.png?alt=media&amp;token=425dc4ef-d3e4-46aa-8525-6e13781dc069" alt=""><figcaption><p>The PropertyValue Databox &#x26; Expression</p></figcaption></figure></div>

<div><figure><img src="https://2882349412-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MARm6St_qFGM52R3pBa%2Fuploads%2FMxgUMUCMFkcO2h5O8ksn%2F2023-06-20_15h31_59.png?alt=media&amp;token=9a12a9c2-510b-4e3f-b1db-5b266bf58cde" alt=""><figcaption><p>The TotalMortgage Databox &#x26; Expression</p></figcaption></figure> <figure><img src="https://2882349412-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MARm6St_qFGM52R3pBa%2Fuploads%2FhUmRUZvH84RIyZt7b1FL%2F2023-06-20_15h32_21.png?alt=media&amp;token=eed9d977-5278-4748-9d3a-a0b58634d39e" alt=""><figcaption><p>The TotalSecured Databox</p></figcaption></figure></div>

<div><figure><img src="https://2882349412-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MARm6St_qFGM52R3pBa%2Fuploads%2FSjznaHX9KplNusFCXcVl%2F2023-06-20_16h30_10.png?alt=media&amp;token=9336f875-764b-4d97-b348-af5cebe3b54c" alt=""><figcaption><p>Message in the editor</p></figcaption></figure> <figure><img src="https://2882349412-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MARm6St_qFGM52R3pBa%2Fuploads%2FWVzqX0UDwnOv2JMEPoA7%2F2023-06-20_16h32_31.png?alt=media&amp;token=7a2cdbb9-9c7d-413a-b41f-961dc9a64c69" alt=""><figcaption><p>The result...</p></figcaption></figure></div>
