Show / Hide Table of Contents

    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 Source

    MAX_RADIX

    Max radix value.

    Declaration
    public const int MAX_RADIX = null
    Field Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    MIN_RADIX

    Min radix value.

    Declaration
    public const int MIN_RADIX = null
    Field Value
    Type Description
    System.Int32

    Methods

    | Improve this Doc View Source

    Parse(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.String s

    An input System.String.

    System.Int32 radix

    A radix.

    Returns
    Type Description
    System.Int64

    The parsed number in the specified radix.

    | Improve this Doc View Source

    ToString(Single)

    Converts a number to System.String.

    Declaration
    public static System.String ToString(float f)
    Parameters
    Type Name Description
    System.Single f
    Returns
    Type Description
    System.String
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)