anilrohom Member A Join Date May 2006 Location Pune Posts 12 Jan 19, 2007 #1 How can i convert negative decimal value(-100) to hexadecimal.
L D[AR2P#0.0] Lifetime Supporting Member L Join Date Nov 2006 Location UK Posts 6,693 Jan 19, 2007 #2 Can you convert 100 decimal to hex (binary) ? If so then simply find the 2's complement of the number (i.e. invert and add one).
Can you convert 100 decimal to hex (binary) ? If so then simply find the 2's complement of the number (i.e. invert and add one).
Sergei Troizky Member S Join Date Oct 2004 Location Montreal Posts 736 Jan 19, 2007 #3 Where? In a PLC program? On the paper? In mind?
randylud Member R Join Date Oct 2002 Location Greensboro,NC Posts 933 Jan 19, 2007 #4 Ffffffffffffff9c=-100