Class NumberFormat
Inheritance
System.Object
NumberFormat
Assembly: Lucene.Net.dll
public class NumberFormat : object
Constructors
|
Improve this Doc
View Source
Declaration
public NumberFormat(CultureInfo locale)
Parameters
Type |
Name |
Description |
CultureInfo |
locale |
|
Fields
|
Improve this Doc
View Source
Declaration
protected readonly CultureInfo locale
Field Value
Type |
Description |
CultureInfo |
|
Methods
|
Improve this Doc
View Source
Declaration
public virtual string Format(double number)
Parameters
Type |
Name |
Description |
System.Double |
number |
|
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Declaration
public virtual string Format(long number)
Parameters
Type |
Name |
Description |
System.Int64 |
number |
|
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Declaration
public virtual string Format(object number)
Parameters
Type |
Name |
Description |
System.Object |
number |
|
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Declaration
protected virtual string GetNumberFormat()
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Declaration
public virtual object Parse(string source)
Parameters
Type |
Name |
Description |
System.String |
source |
|
Returns
Type |
Description |
System.Object |
|
|
Improve this Doc
View Source
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|