On Jan 29, 2005, at 5:18 PM, Joseph J. Strout wrote:
Can somebody explain to me why the Mask property won't work for this?
He wants a single decimal point, but the number of digits before and
after the decimal may vary. The problem with the Mask is that it can
be trial and error before you get exactly the right combination for the
task. I think that this is more of a documentation issue and not
anything specific with the feature. It would be *very* nice to have a
variable length example in the documentation instead of just the fixed
telephone and social security examples.
For this task, set the Mask property using the string:
"9999999.9999999"
The "9" refers to an optional digit. So you can enter up to 7 digits
before the required decimal (in this example) and then another 7 digits
after the decimal. If you enter 3 digits before the decimal, you still
only get 7 digits after the decimal because of the way this mask
property works -- so make sure you have enough precision for the task.
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|