Math.hexToDec
Math.hexToDec($hexString) -> number
Description
Convert $hexString
to a decimal number.
Math.hexToDec('F1') //= 241 Math.hexToDec('0xFF0000') //= 16711680 Math.hexToDec('#FF0000') //= 16711680
Convert $hexString
to a decimal number.
Math.hexToDec('F1') //= 241 Math.hexToDec('0xFF0000') //= 16711680 Math.hexToDec('#FF0000') //= 16711680