Methods

IntΒΆ

Int(s:Str)

Convert base-10 string to Int. Throws InvalidArgument if the number in s is not well-formatted.
Source: stdlib.ngs:2226

Returns

Int

Example

Int(" 100 ")  # 100