Previous Page | Next Page

Functions and CALL Routines

VFORMATD Function



Returns the decimal value of the format that is associated with the specified variable.
Category: Variable Information

Syntax
Arguments
Comparisons
Examples
See Also

Syntax

VFORMATD (var)

Arguments

var

specifies a variable that is expressed as a scalar or as an array reference.

Restriction: You cannot use an expression as an argument.

Comparisons


Examples

SAS Statements Results
array x(3) x1-x3;
format x1 comma8.2;
y=vformatd(x(1));
put y=;
y=2


See Also

Functions:

"Variable Information" functions in Functions and CALL Routines by Category

Previous Page | Next Page | Top of Page