C# Class Layout.Formatters.NumericFormat

Inheritance: Format
Datei anzeigen Open project: jtalbot/Labeling

Protected Properties

Property Type Description
decimalExtend bool
factored bool

Public Methods

Method Description
FormalLabels ( IEnumerable o ) : string>.Tuple
FormatLabels ( IEnumerable d ) : string>.Tuple
NumericFormat ( bool factored, bool decimalExtend, double weight ) : System
Score ( IEnumerable val ) : double
Score ( decimal d ) : double

Protected Methods

Method Description
decimalPlaces ( decimal i ) : int
pot ( decimal val ) : int
pow10 ( int i ) : decimal

Method Details

FormalLabels() public method

public FormalLabels ( IEnumerable o ) : string>.Tuple
o IEnumerable
return string>.Tuple

FormatLabels() public abstract method

public abstract FormatLabels ( IEnumerable d ) : string>.Tuple
d IEnumerable
return string>.Tuple

NumericFormat() public method

public NumericFormat ( bool factored, bool decimalExtend, double weight ) : System
factored bool
decimalExtend bool
weight double
return System

Score() public method

public Score ( IEnumerable val ) : double
val IEnumerable
return double

Score() public abstract method

public abstract Score ( decimal d ) : double
d decimal
return double

decimalPlaces() protected method

protected decimalPlaces ( decimal i ) : int
i decimal
return int

pot() protected method

protected pot ( decimal val ) : int
val decimal
return int

pow10() protected method

protected pow10 ( int i ) : decimal
i int
return decimal

Property Details

decimalExtend protected_oe property

protected bool decimalExtend
return bool

factored protected_oe property

protected bool factored
return bool