DHTMLX Docs & Samples Explorer

setMathRound(digits)

Required library edition: This method requires Professional Edition of the DHTMLX library
Required library file: dhtmlxgrid_math.js

enable/disable rounding while math calculations

  • digits - set how many digits must be rounded, set 0 for disabling
   mygrid.setMathRound(2);

See also: enableMathSerialization, enableMathEditing