The previous section showed how to create a user-defined format for a character variable. Creating a user-defined format for a numeric variable is similar, but you have a few more options. Start by selecting Data Create Format from the menu bar to open the Create Format window.
Select a Format type of Numeric. Then type a name for the new format in the Format name box. This name must be 32 characters or fewer in length, cannot start or end with a numeral, and can contain only letters, numerals, or underscores. This example shows a numeric format named HeightGroup being created.