Hi,
suppose we have 4 digits ...
IF Value < 1000 ... first digit = 0 ... so, do not show it ( or print blank ! )
IF Value < 100 ... second digit = 0 ... so, do not show it
IF Value < 10 ... Third digit = 0 ...
or use a flag ...
for digit 1 to 4
IF Digit = 0 AND Flag = 0 then
... do not show it : Flag = 0
ELSE
... Show it : Flag = 1
ENDIF
Next digit
Alain
Last edited by Acetronics2; - 24th June 2008 at 17:08.
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
Bookmarks