|
Speaking of negative numbers, as I've explained earlier, I'm reading
columns in a .csv file, which can contain a leading minus sign (and,
optionally, a decimal point). Then I'm building a character string that
conforms to the output file's DDS. So I handled the negative value in
the 'coldta' string by purging the decimal point and minus sign, and
then substituting J, K, L, etc. for the last 'digit' before appending
'coldta' to the string.
Can anyone tell me how I could just alter the sign portion of the last
byte to denote 'negative' so I wouldn't need the alternating tables?
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.