메소드 | 설명 | |
---|---|---|
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 |