General information
Category:
Coding, syntax & commands
>>This is good only if the hex value is an integer value. It doesn't work if it is a float.
>
>Do you mean that the hex value represents a floating point number stored in a standard format (for example, I think IEEE has one standard)? If so, this can be a real bear to translate because it will have a mantissa component, a sign component, and an exponent component, and the arrangement of the bits depends on whatever standard format is used to represent the number. (My guess is that this is not what you are dealing with).
The hex value is an inventory balance (in the original message). An inventory balance can be a float value.
All I wanted to say is that not every time you have a hex value it is an integer value. You must be sure what you have, because interpreting a float value as a integer can lead to complet wrong results.
Vlad
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only