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.138 -- Release Build+88ca978c0cce6d0d3e501e198adb13956063f519
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