O'Reilly logo

The Little SAS® Book for Enterprise Guide® 4.1 by Lora D. Delwiche, Susan J. Slaughter

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

3.4. Defining Your Own Numeric Formats

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.

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.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required