Logo GenPRES

Int32 Module

Parses an integer from text and formats an integer with a point as thousands separator.

Functions and values

Function or value Description

Int32.parse s

Full Usage: Int32.parse s

Parameters:
    s : string

Returns: int

Parses a string to an Int32. If the string cannot be parsed, an exception is thrown.

s : string
Returns: int

Int32.toStringNumberNL n

Full Usage: Int32.toStringNumberNL n

Parameters:
    n : int

Returns: string

Returns the Int32 as a Dutch number, with a dot between each group of three digits. The number format is its own, so it also works where the invariant culture is the only culture. Example: 1234567 becomes 1.234.567

n : int
Returns: string

Int32.tryParse s

Full Usage: Int32.tryParse s

Parameters:
    s : string

Returns: int option

Parses a string to an Int32. If the string cannot be parsed, None is returned.

s : string
Returns: int option

Type something to start searching.