absolut value javascript code example Example: javascript math absolute Math.abs(-7.25); // returns 7.25