Version: v0.8.1 - Beta.  We welcome contributors & feedback.

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

See Also