Chapter Contents |
Previous |
Next |
ZIPFIPS |
Category: | State and ZIP Code |
Syntax | |
Arguments | |
Details | |
Examples | |
See Also |
Syntax |
ZIPFIPS(zip-code) |
Requirement: | The character expressions you use must have a length of five, or the ZIPFIPS function generates an error. |
Details |
The ZIPFIPS function returns the two-digit numeric U.S. Federal Information Processing Standards (FIPS) code corresponding to its five-character ZIP code argument.
Examples |
SAS Statements | Results |
---|---|
fips=zipfips('27511'); put fips; |
37 |
a='27511'; fips=zipfips(a); put fips; |
37 |
See Also |
Functions:
|
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.