Number

Description

A number is used to store numeric values. The number can consist of positive numbers, negative numbers and have a fractional component. Numbers can be used and calculated in Math functions. When displaying the numeric values on a page, the thousand-grouping character and the decimal-point character are determined by the language settings of the project.

Formatting

The formatting of numbers can be controlled using format strings. Some examples for formatting 1054.32179 are shown below.

0000               /* 1054 */
#,000.000          /* 1,054.322 */
000,000,000.00###  /* 000,000,001,054.32179 */

Unknown

An unknown value can be written as UnknownNumber.

Examples

1
0
3.14
-1
-0.0054825

Last updated