display of decimal negative number on alphanumeric display

Started by basiclover, Dec 28, 2021, 01:56 PM

Previous topic - Next topic

basiclover

value is a negative number
Print At 1,1, Dec value

does the print command insert automaticaly a negative sign "-"

chris_cb_uk

Depends on your declared variable...
Try Signed variables

basiclover


chris_cb_uk


basiclover


chris_cb_uk

Refer to the manual for the right modifier to use with print and signed variables to get the negative to display correctly.

See_Mos

Print SDec

Look at the Print command in the manual.