Getting Started
Developer Resources
Indices and Tables
Converts given value to an integer or returns 0 if it fails.
value – Arbitrary data type.
int
Example
>>> to_int_or_zero("12") 12
>>> to_int_or_zero("x") 0