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.164 -- Release Build+6702c515f0dd5ff2666fab734b3300f444325a3e
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