Stop the rounding (thanks)
Steven Waters
swaters at triumphinstruments.com
Fri Sep 14 12:58:31 PDT 2007
For the benefit of those reading...
Did you want to strip the decimal and everything after it, or
did you just want to get rid of the decimal and keep the digits following?
ie:
"123.45" becomes "123" or "12345"?
And which method did you use, as several were suggested for both
possible interpretations of your original post?
----------------------------
I did What I thought was easy. I added *"100" and changed
cb from (10,.0) to just (10)
cb(10)=25*"100"
this keeps all numbers.
If field 25 = 791.00
the result I want is 79100
If the sum is 791 like I was getting.
We would be paid 7.91 and not 791.00
Sorry for any confusion
Steve
More information about the Filepro-list
mailing list