CGI.safeFloat3kaya
Convert a string to a float.
Usage
Float safeFloat( String x, Float min, Float max )
Arguments
x The string to convert
min The minimum value
max The maximum value
Overview
Convert a string to a Float, throwing an Exception if the resulting Float is out of the specified range (note that due to floating-point inaccuracies, values very close to the minimum or maximum value may be incorrectly rejected or accepted).
Releases
4 releases since Debian 5.0 (Lenny); the text changed 3 times.