Show / Hide Table of Contents

    Class NumberFormat

    Inheritance
    System.Object
    NumberFormat
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Namespace: Lucene.Net.Support
    Assembly: Lucene.Net.dll
    Syntax
    public class NumberFormat

    Constructors

    | Improve this Doc View Source

    NumberFormat(CultureInfo)

    Declaration
    public NumberFormat(CultureInfo locale)
    Parameters
    Type Name Description
    System.Globalization.CultureInfo locale

    Fields

    | Improve this Doc View Source

    locale

    Declaration
    protected readonly CultureInfo locale
    Field Value
    Type Description
    System.Globalization.CultureInfo

    Methods

    | Improve this Doc View Source

    Format(Double)

    Declaration
    public virtual string Format(double number)
    Parameters
    Type Name Description
    System.Double number
    Returns
    Type Description
    System.String
    | Improve this Doc View Source

    Format(Int64)

    Declaration
    public virtual string Format(long number)
    Parameters
    Type Name Description
    System.Int64 number
    Returns
    Type Description
    System.String
    | Improve this Doc View Source

    Format(Object)

    Declaration
    public virtual string Format(object number)
    Parameters
    Type Name Description
    System.Object number
    Returns
    Type Description
    System.String
    | Improve this Doc View Source

    GetNumberFormat()

    Declaration
    protected virtual string GetNumberFormat()
    Returns
    Type Description
    System.String
    | Improve this Doc View Source

    Parse(String)

    Declaration
    public virtual object Parse(string source)
    Parameters
    Type Name Description
    System.String source
    Returns
    Type Description
    System.Object
    | Improve this Doc View Source

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String
    Overrides
    System.Object.ToString()

    Extension Methods

    Number.IsNumber(Object)
    • Improve this Doc
    • View Source
    Back to top Copyright © 2019 Licensed to the Apache Software Foundation (ASF)