Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class EnglishNumberFormatExtensions

    Extension methods to spell out numbers into English.

    Inspiration: https://stackoverflow.com/a/2601001

    Inheritance
    System.Object
    EnglishNumberFormatExtensions
    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)
    System.Object.ToString()
    Namespace: Lucene.Net.Util
    Assembly: Lucene.Net.Benchmark.dll
    Syntax
    public static class EnglishNumberFormatExtensions

    Methods

    | Improve this Doc View Source

    ToWords(Int32)

    Returns the spelled-out English words for the provided value.

    Declaration
    public static string ToWords(this int value)
    Parameters
    Type Name Description
    System.Int32 value
    Returns
    Type Description
    System.String
    | Improve this Doc View Source

    ToWords(Int64)

    Returns the spelled-out English words for the provided value.

    Declaration
    public static string ToWords(this long value)
    Parameters
    Type Name Description
    System.Int64 value
    Returns
    Type Description
    System.String
    • Improve this Doc
    • View Source
    Back to top Copyright © 2021 The Apache Software Foundation, Licensed under the Apache License, Version 2.0
    Apache Lucene.Net, Lucene.Net, Apache, the Apache feather logo, and the Apache Lucene.Net project logo are trademarks of The Apache Software Foundation.
    All other marks mentioned may be trademarks or registered trademarks of their respective owners.