static toPositive(NegativeValue) {
      if (NegativeValue < 0) {
        const positiveString = NegativeValue.toString().replace("-", "");
        return Number(positiveString);
      }
      return NegativeValue;
    }
/**
     * Convert negative numbers to positive integers.
     * @param {Number} NegativeValue A negative number.
     * @returns {Number}
     */
Convert negative numbers to positive integers.
@param {Number} NegativeValue A negative number.
@returns {Number}
Convert negative numbers to positive integers . @param { Number } NegativeValue A negative number . @returns { Number }
static toPositive(NegativeValue) {
      if (NegativeValue < 0) {
        const positiveString = NegativeValue.toString().replace("-", "");
        return Number(positiveString);
      }
      return NegativeValue;
    }
static toPositive ( NegativeValue ) { if ( NegativeValue < 0 ) { const positiveString = NegativeValue . toString ( ) . replace ( "-" , "" ) ; return Number ( positiveString ) ; } return NegativeValue ; }
Convert negative numbers to positive integers.
Convert negative numbers to positive integers .