shortest possible check: field is set, integer or 0
Posted by Chris Lott on 10/03/01 11:33
What is the shortest possible check to ensure that a field coming from
a form as a text type input is either a positive integer or 0, but
that also accepts/converts 1.0 or 5.00 as input?