Table of Contents

Class BigIntegerParser

Namespace
NCalc.Parser
Assembly
NCalc.dll
public static class BigIntegerParser
Inheritance
BigIntegerParser
Inherited Members

Methods

TryParseBigInteger(string, int, out BigInteger)

Parses a string of the specified base into a BigInteger. Throws OverflowException if the string contains invalid characters.

public static bool TryParseBigInteger(string value, int numberBase, out BigInteger result)

Parameters

value string

The input string to parse.

numberBase int

The base: 2, 8, 10, or 16.

result BigInteger

The output BigInteger value.

Returns

bool

True if parsing succeeded, false otherwise.