C# Class IronLua.Library.NumberUtil

Show file Open project: ericmj/IronLua

Public Methods

Method Description
TryParseDecimalNumber ( string number, double &result ) : bool
TryParseHexNumber ( string number, bool exponentAllowed, double &result ) : bool

Method Details

TryParseDecimalNumber() public static method

public static TryParseDecimalNumber ( string number, double &result ) : bool
number string
result double
return bool

TryParseHexNumber() public static method

public static TryParseHexNumber ( string number, bool exponentAllowed, double &result ) : bool
number string
exponentAllowed bool
result double
return bool