public method Instrument.getDigitsGets the instrument price precision
Declaration
protojavascriptjavacsharppublic getDigits() : int
Returns
The method returns an integer that represents the instrument price precision
It defines the number of digits after the decimal point in the instrument price quote. For example, it is 5 for EUR/USD and 3 for USD/JPY
Declared in Instrument