Format Builder: Difference between revisions
Line 31: | Line 31: | ||
To build a number format you will need to provide up to 4 things. | To build a number format you will need to provide up to 4 things. | ||
1. A Currency sign (not essential) | 1. A Currency sign (not essential) | ||
2. A Separator that will separate a large number into thousands. (not essential) | 2. A Separator that will separate a large number into thousands. (not essential) | ||
3. A Decimal point character (only essential if Decimal Places is greater than 0) | 3. A Decimal point character (only essential if Decimal Places is greater than 0) | ||
4. Decimal Places. | 4. Decimal Places. | ||
Revision as of 06:05, 18 November 2020
The Format Builder will allow you to create custom formats for nuDate and nuNumber.
To create a Format we need to do 2 things.
- Choose the Data Type.
- Build the Format.
Building a nuDate
To build a date format, click on a combination of the following options.
Entering a Date with the keyboard requires the user to enter the date in the exact format.
eg. mask - result (2007-13-01 15:20:01)
- yy - 17
- yyyy - 2017
- pp - am or pm
- dd - 21
- ddd - Tue
- dddd - Tuesday
- mm - 03
- mmm - Mar
- mmmm - March
- hh - 15
- nn - 20
- ss - 01
.. and some punctuation.
Building a nuNumber
To build a number format you will need to provide up to 4 things.
1. A Currency sign (not essential)
2. A Separator that will separate a large number into thousands. (not essential)
3. A Decimal point character (only essential if Decimal Places is greater than 0)
4. Decimal Places.
Changing these will change the display of the Format field.
All of these 4 fields are nuScroll Input Objects (with default values that can be scrolled through but will also accept other characters.)