Basic module

to_integer

procedure · 1 overloadSource

Reads a decimal int from the start of s, as string_to_int does.

to_integer :: (s: string) -> (result: int, success: bool, remainder: string)

Parameters

s: string

Returns

result: int
success: bool
remainder: string

See also