NumDecimals (Function)

image\trumpet2.gif Disclaimer

The NumDecimals function calculates the number of decimal places for a symbol based on the specified price scale.

Syntax

NumDecimals(SymbolPriceScale)

Returns (Integer)

A numeric value representing the number of decimal places for a symbol.

Parameters

Name Type Description
SymbolPriceScale Numeric The price scale for a symbol used to calculate the number of decimals places.