title: Convert hex numbers from proprietary database into decimal
body: <p>I’m trying to pull numbers out of a proprietary database (Lacerte tax software).
  They are all whole numbers, stored in 4 bytes. I have put numbers into the program, and then checked out the file with a hex editor. This has allowed me to see how they are stored.
  Here are some examples:<br>
  -100 = 00 00 59 C0<br>
  -4 = 00 00 10 C0<br>
  -3 = 00 00 08 C0<br>
  -2 = 00 00 00 C0<br>
  -1 = 00 00 F0 BF<br>
  0 = 00 00 00 00<br>
  1 = 00 00 F0 3F<br>
  2 = 00 00 00 40<br>
  3 = 00 00 08 40<br>
  4 = 00 00 10 40<br>
  5 = 00 00 14 40<br>
  6 = 00 00 18 40<br>
  7 = 00 00 1C 40<br>
  8 = 00 00 20 40<br>
  9 = 00 00 22 40<br>
  10 = 00 00 24 40<br>
  100 = 00 00 59 40<br>
  1,000,000 = 80 84 2E 41<br>
  Does anybody have any idea how to convert these hex numbers from the database into decimals?</p>