Gemstone Numeric Library
Show/Hide TOC

# Int24Parse(String) Method

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

## Definition

Namespace: Gemstone.Numeric
Assembly: Gemstone.Numeric (in Gemstone.Numeric.dll) Version: 1.0.154 -- Release Build+9c55d1e3f6f7e7a168a3c7771afde278e919c61c
C#
View Source Request Example

    public static Int24 Parse(
    	string s
    )

VB
View Source Request Example

    Public Shared Function Parse (
    	s As String
    ) As Int24

C++
View Source Request Example

    public:
    static Int24 Parse(
    	String^ s
    )

JavaScript
View Source Request Example

    Gemstone.Numeric.Int24.Parse = function(s);

#### Parameters

s String
  A string containing a number to convert.

#### Return Value

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

## Exceptions

ArgumentNullException | s is null.
OverflowException | s represents a number less than Int24.MinValue or greater than Int24.MaxValue.
FormatException | s is not in the correct format.

## See Also

#### Reference

Int24 Structure
Parse Overload
Gemstone.Numeric Namespace