int::parse

Converts the specified string representation of a number to its 32-bit signed integer equivalent.

Usage

int int::parse(s)

Parameters

Name Type Description
s string A string containing a number to convert.

Return Value

A 32-bit signed integer equivalent to the number contained in s.

Exceptions

The function will fail in any of the following circumstances:

Remarks

The NumberFormatInfo for the invariant culture is used to supply formatting information about s.

Requirements

Assembly: NAnt.Core (0.90.3780.0)