InertiaM
Well-known member
Is there a character I can use in a String.Format method that will return either a negative '-' or positive '+' sign? I have to create a string with 8 values to send to a printer, which looks something like :-
All of the values may be negative or positive. I know I can loop all the variables with IF..THEN..ELSE to give me the sign, but this just seems tedious
VB.NET:
Z2;2,+000+000+00-450+00+00-00-000000
All of the values may be negative or positive. I know I can loop all the variables with IF..THEN..ELSE to give me the sign, but this just seems tedious