C# Class Lucene.Net.Util.Number

A simple class for number conversions.
Mostrar archivo Open project: mammo/LukeSharp

Public Methods

Method Description
Parse ( string s, int radix ) : long

Parses a number in the specified radix.

ToString ( float f ) : string
ToString ( long i, int radix ) : string

Converts a number to string in the specified radix.

Method Details

Parse() public static method

Parses a number in the specified radix.
public static Parse ( string s, int radix ) : long
s string An input string.
radix int A radix.
return long

ToString() public static method

public static ToString ( float f ) : string
f float
return string

ToString() public static method

Converts a number to string in the specified radix.
public static ToString ( long i, int radix ) : string
i long A number to be converted.
radix int A radix.
return string