Fuzion Logo
flang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.

Idiom # 22: Convert string to integer

See programming-idioms.org:

Code







Running Example







Larger Example

The following code parses a number of different strings as decimal, binary, octal or hex numbers creating results of different integer types.