Name
xpt.acc_string2integer — argument check and convert string to integer
Synopsis
import xpt
xpt.acc_string2integer(ARG, default=0)
Description
Check and convert ARG to an integer value. ARG is assumed to be a string
passed to a XPT registered Python function.
Note that passing a integer value via ARG just returns it's value.
Is ARG is None, the default value is returned.
Return value
An integer value.
Errors
An exception is raised if incorrect parameters are passed.
See Also
xpt(1), python(1), xpt.acc_string2integer().