1CGI.safeInt(3kaya)           Kaya module reference          CGI.safeInt(3kaya)
2
3
4

NAME

6       CGI::safeInt - Convert a string to an Int.
7

SYNOPSIS

9       Int safeInt( String x, Int min, Int max )
10

ARGUMENTS

12       x The string to convert
13
14       min The minimum value
15
16       max The maximum value
17

DESCRIPTION

19       Convert  a string to an Int, throwing an Exception if the resulting Int
20       is out of the specified range.
21

AUTHORS

23       Kaya  standard  library  by  Edwin  Brady,  Chris  Morris  and   others
24       (kaya@kayalang.org). For further information see http://kayalang.org/
25

LICENSE

27       The  Kaya  standard  library  is free software; you can redistribute it
28       and/or modify it under the terms  of  the  GNU  Lesser  General  Public
29       License  (version  2.1  or  any later version) as published by the Free
30       Software Foundation.
31
33       CGI.safeFloat (3kaya)
34
35
36
37Kaya                             December 2010              CGI.safeInt(3kaya)
Impressum