Well hex numbers work in the similar way a UINT works by treating it as all positive. Meaning...
uint(-214748364). toString(16).toUpperCase(); BTW this removes the padded "F"s. -Mark -----Original Message----- From: Saju Thankathurai [mailto:[email protected]] Sent: Tuesday, October 14, 2014 11:52 AM To: [email protected] Subject: Re: Decimal to Hex conversion. But Number("-214748364").toString(16).toUpperCase(); returned me only -CCCCCCC. How can we get the value FFFF FFFF F333 3334? -- Regards Saju Thankathurai, On Tue, Oct 14, 2014 at 9:08 PM, Kessler CTR Mark J < [email protected]> wrote: > Oh didn't notice the negative sign. > Yes that changes it to the other way. > > -214,748,364 = FFFF FFFF F333 3334 > > -Mark >
