Number field

Features ›› Templates ›› Editing Templates ›› Fields ››
Parent Previous Next

Number field

A field where a number (integer, decimal, currency) can be entered.


Example

Number field with a input mask and formating for currencies

$NumericField('Total amount','C','C')


Number field with a input mask and formating for integers (a number without decimal digits)

$NumericField('Quantity','N0','N0')


Number field with a input mask and formating for decimal numbers (2 decimal places)

$NumericField('Amount','N2','N2')


Number field with a input mask and formating for percentages

$NumericField('Discount','P','P')


For details about formatting date and time values see here.


Example Usage