Lee
2003-09-10 12:56:06 UTC
I've received a data file from a client where all the
number fields have a leading zero at the left and zeros
following on the right. I've been able to get rid of the
following zeros by dividing each number by 100, but I
can't figure out how to get rid of the leading zero. I
know using the Right function would work but since these
fields contain dollar amounts the length is going to vary
for each record. Can someone suggest a way to get rid of
these zeros? Thanks-
number fields have a leading zero at the left and zeros
following on the right. I've been able to get rid of the
following zeros by dividing each number by 100, but I
can't figure out how to get rid of the leading zero. I
know using the Right function would work but since these
fields contain dollar amounts the length is going to vary
for each record. Can someone suggest a way to get rid of
these zeros? Thanks-