M
Mike
Hi,
I need to check that a number entered fits a specific format, and if
it doesn't, then I need to modify that variable to fit the format. For
instance, I need for the user to enter a number like 0123456.7
(specifically needing 7 numbers, followed by a . and another number).
The FORMAT function doesn't do what I thought. In Java (as much as I
hate Java), Format would do this in one line. Is there a command that
I'm overlooking in Perl that would do this for me?
TIA,
Mike
I need to check that a number entered fits a specific format, and if
it doesn't, then I need to modify that variable to fit the format. For
instance, I need for the user to enter a number like 0123456.7
(specifically needing 7 numbers, followed by a . and another number).
The FORMAT function doesn't do what I thought. In Java (as much as I
hate Java), Format would do this in one line. Is there a command that
I'm overlooking in Perl that would do this for me?
TIA,
Mike