Class Number
A simple class for number conversions.
Inheritance
System.Object
Number
Namespace: Lucene.Net.Support
Assembly: Lucene.Net.dll
Syntax
public static class Number : object
Fields
| Improve this Doc View SourceMAX_RADIX
Max radix value.
Declaration
public const int MAX_RADIX = null
Field Value
Type | Description |
---|---|
System. |
MIN_RADIX
Min radix value.
Declaration
public const int MIN_RADIX = null
Field Value
Type | Description |
---|---|
System. |
Methods
| Improve this Doc View SourceParse(System.String, Int32)
Parses a number in the specified radix.
Declaration
public static long Parse(System.String s, int radix)
Parameters
Type | Name | Description |
---|---|---|
System. |
s | An input System.String. |
System. |
radix | A radix. |
Returns
Type | Description |
---|---|
System. |
The parsed number in the specified radix. |
ToString(Single)
Converts a number to System.String.
Declaration
public static System.String ToString(float f)
Parameters
Type | Name | Description |
---|---|---|
System. |
f |
Returns
Type | Description |
---|---|
System. |