Метод | Описание | |
---|---|---|
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
|
Метод | Описание | |
---|---|---|
SanitizedDigitAtPosition ( this sanitizedNumber, int validPosition ) : int |
public static DigitAtPosition ( this number, int position ) : int | ||
number | this | |
position | int | |
Результат | int |
public static EnsurePositive ( this number ) : decimal | ||
number | this | The decimal we are ensuring is positive. |
Результат | decimal |