General information
Category:
Coding, syntax & commands
>Again... I feel like an idiot.... Your explanation was way over my head. I'm not sure how to apply your suggestions in the original example I gave. Larry suggested that I do the following if the value is greater than 32767
>
>-(2^16) + lcTest
>
>How would you change that? -Jeff
>p.s. sorry to be a pest.
See Sergey's code. It's been so long since I've done AL, it had gotten simplified in my mind<g>. He's correct that negative numbers are stored in two's complement form (more complication) and not in the manner I described. See if his code will work for you.
Jay
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