C# Class Summer.Batch.Extra.Sort.Legacy.Format.NumericEditFormatter.DigitStack

A class to get the digits from a number, in reverse order.
Mostrar archivo Open project: SummerBatch/SummerBatch

Public Methods

Method Description
DigitStack ( decimal value ) : System

Constructs a new DigitStack from a decimal.

Pop ( ) : char

Returns the current digit and move the cursor to the next digit.

Method Details

DigitStack() public method

Constructs a new DigitStack from a decimal.
public DigitStack ( decimal value ) : System
value decimal the number to get the digits from
return System

Pop() public method

Returns the current digit and move the cursor to the next digit.
public Pop ( ) : char
return char