|
Hi Ted -
In response to Scott Klement with Rob Berendt's additional comment:
What Rob said I guess?! I just don't want to have to go to each db that has the field that is smaller in size and have to make it bigger. Did Z-ADD just drop all digits to the left of decimal that wouldn't fit? I guess I'm looking for some easier solution to EVAL. What would most folks do in this situation, without having to change database field sizes?
E.g. change eval d = (a / b) * c to eval d = (a * c) / b
Division should always be as late in the calculation as possible.
E.g. eval big_ol_work_field = expression select when big_ol_work_field > 9999999.99 eval real_field = 9999999.99 when big_ol_work_field < -9999999.99 eval real_field = -9999999.99 other eval real_field = big_ol_work_field endsl
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.