Method | Description | |
---|---|---|
DigitAtPosition ( this number, int position ) : int |
Method that finds a digit at an arbirary position of a decimal. The number. The position of the digit to the right of the decimal (1-n).
|
|
EnsurePositive ( this number ) : decimal |
Ensures that the specified decimal is positive
|
Method | Description | |
---|---|---|
SanitizedDigitAtPosition ( this sanitizedNumber, int validPosition ) : int |
public static DigitAtPosition ( this number, int position ) : int | ||
number | this | |
position | int | |
return | int |
public static EnsurePositive ( this number ) : decimal | ||
number | this | The decimal we are ensuring is positive. |
return | decimal |