I, too believe that, in principle, if blanks are considered zero, then all
blanks should equal all zeroes... Okay, I'm off the soap box.  Here's an
idea.  Why not just pre-pend a zero at the beginning of the field being
converted?  For example, 

 

PackedX = %Int( '0' + StringA )

 

A leading zero will never change the value of a number, and if StringA is
all blanks, then zero you shall receive.  

 

Will this work?

 

Tony Carolla

MedAmerica Billing Services, Inc.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.