roundValue(value) {
      const precision = this.measurementSystemPrefs_.precision;
      const roundedValue = Math.round(value / precision) * precision;
      // Truncate
      return +roundedValue.toFixed(this.measurementSystemPrefs_.decimalPlaces);
    }
/**
     * Rounds a value in the local system's units to the appropriate precision.
     * @param {number} value Value to round.
     * @return {number} Rounded value.
     */
Rounds a value in the local system's units to the appropriate precision.
@param {number} value Value to round.
@return {number} Rounded value.
Rounds a value in the local system ' s units to the appropriate precision . @param { number } value Value to round . @return { number } Rounded value .
roundValue(value) {
      const precision = this.measurementSystemPrefs_.precision;
      const roundedValue = Math.round(value / precision) * precision;
      return +roundedValue.toFixed(this.measurementSystemPrefs_.decimalPlaces);
    }
roundValue ( value ) { const precision = this . measurementSystemPrefs_ . precision ; const roundedValue = Math . round ( value / precision ) * precision ; return + roundedValue . toFixed ( this . measurementSystemPrefs_ . decimalPlaces ) ; }
Rounds a value in the local system's units to the appropriate precision.
Rounds a value in the local system ' s units to the appropriate precision .
// Truncate