javascript Convert string representation of hex value to hex -
How can I represent the hex value string in the representation of hex in javascript?
Am I returning from the checksum routine? I have a string value of "FE". I need this hex representation "\ xFE"
I just can not do this because it gives me a Returns the error:
var crc = "FE"; Var hex = "\ x" + crc; This just gives me a new 4 character ASCII string:
var crc = "FE"; Var hex = "0x" + "FE"; Thxs for any guidance.
like
var hex = parsient ("ff" 16);
Comments
Post a Comment