num

Purpose

Convert a string to a number, if possible.

Syntax

returnedNumber = num(string)

returnedNumber - type: int
string - type: str

Returns

Remarks

This function also accepts a num arg.

Example

See Also

str, String Functions