Parse

File Parse functions/quantize.js

This runs the server-side parser and regenerates the documentation tree for this source file.

Source

            
function quantizeNumber(value, quantize=1) {
  const quantizedValue = Math.round(value / quantize) * quantize;
  return quantizedValue;
}
copy