Using JavaScript Integers
<HTML> <HEAD> <TITLE>Using JavaScript integers</TITLE> </HEAD> <BODY> <SCRIPT LANGUAGE="JavaScript"> <!-- document.write("0xab00 + 0xcd = ") document.write(0xab00 + 0xcd) document.write("<BR>") document.write("0xff - 0123 = ") document.write(0xff - 0123) document.write("<BR>") document.write("-0x12 = ") document.write(-0x12) // --> </SCRIPT> </BODY> </HTML>