Function: toNumber
Integer conversion with default.
Parameters:
string, number (default value)
Returns:
number (integer value)
Integer conversion with default.
Parameters:
string, number (default value)
Returns:
number (integer value)