convert negative values to posstive in java script code example Example: convert negative number to positive in javascript Math.abs("the negative number")