Previous Topic: %DatatypeName()

Next Topic: %DatatypeWidth()

%DatatypeScale()

Returns the number of decimal places for decimal datatypes.

Syntax

%DatatypeScale()

Syntax Example

/* For example, in decimal(10,2)*/

%DatatypeScale()

Expansion

2

Usage

Classified as a Miscellaneous macro.