Greetings!
I'm looking at some hex from a file that reads "60 2F 0F 1B 00 00 00 00". In the hex editor I call this a QUAD and it converts to the decimal value of "453980000". I then lop off the ending four zeros and have the real number that I want. In my PowerBASIC TYPE, I used QUAD as the variable type too, convert it to a string and lop off the last four zeroes before displaying it. Sweet, same number.
My method is working; but, something doesn't feel right to this process and I'm curious if my ignorance is blinding me.
I'm looking at some hex from a file that reads "60 2F 0F 1B 00 00 00 00". In the hex editor I call this a QUAD and it converts to the decimal value of "453980000". I then lop off the ending four zeros and have the real number that I want. In my PowerBASIC TYPE, I used QUAD as the variable type too, convert it to a string and lop off the last four zeroes before displaying it. Sweet, same number.
My method is working; but, something doesn't feel right to this process and I'm curious if my ignorance is blinding me.
Comment