Skip to content

ParseInt

Name Mandatory Description Default Type
⬅️ Input A string representing a number. String
Output ➡️ A signed integer equivalent to the number contained in the string input. Int
Base No Numerical base (radix) that determines the valid characters and their interpretation. 10 Int

Converts the string representation of a number to a signed integer equivalent.

Examples

1
2
"42" | ParseInt | Log
Assert.Is(42 Break: true)