D
Daz
Please could someone tell me what I need to do, in order to print a
signed int to the screen without it's sign? The original int needs to
be signed so that I can see if it's less than or greater than zero.
Once that's done, and the relevant message it printed to the screen,
the number needs to be printed without its signed.
for example:
You have made $12778
You have lost $-456 (should read you have lost $456).
Thanks in advance.
signed int to the screen without it's sign? The original int needs to
be signed so that I can see if it's less than or greater than zero.
Once that's done, and the relevant message it printed to the screen,
the number needs to be printed without its signed.
for example:
You have made $12778
You have lost $-456 (should read you have lost $456).
Thanks in advance.