Stay organized with collections Save and categorize content based on your preferences.

blockly > FieldNumber > getPrecision

FieldNumber.getPrecision() method

Returns the current precision of this field. The precision being the number to which the field's value is rounded. A precision of 0 means that the value is not rounded.


getPrecision(): number;



The number to which this field's value is rounded.