C# Class GSF.Number

Show file Open project: GridProtectionAlliance/openHistorian

Public Methods

Method Description
WriteToChars ( this value, char str, int position ) : int
WriteToChars2 ( this value, char destination, int position ) : int

Private Methods

Method Description
BinToReverseBCD ( this value ) : ulong

Converts a uint binary value into a BCD value that is encoded in reverse order. This means what was the Most Significant Digit is now the lease significant digit.

MeasureDigits ( uint value ) : int
strreverse ( char begin, char end ) : void

Method Details

WriteToChars() public static method

public static WriteToChars ( this value, char str, int position ) : int
value this
str char
position int
return int

WriteToChars2() public static method

public static WriteToChars2 ( this value, char destination, int position ) : int
value this
destination char
position int
return int