static int Celartem::Decimal::_1char |
( |
int |
chr | ) |
|
|
inlinestatic |
Converts one of a character of [0-9] into an integral value.
- Parameters
-
chr | a character code of [0-9]. |
- Returns
- The value corresponding to the character.
Referenced by fromStrToInt().
static int Celartem::Decimal::_1digit |
( |
int |
n | ) |
|
|
inlinestatic |
Converts a value of [0 9] into an ASCII character that represents the value.
- Parameters
-
- Returns
- The character corresponding to the input value.
static int Celartem::Decimal::fromStrToInt |
( |
const UChar1 * |
str, |
|
|
size_t |
length |
|
) |
| |
|
inlinestatic |
Converts a decimal notation of a number into an integral value. Please note that this function does not care about overflow.
- Parameters
-
str | A string that represents some number in decimal notation. |
length | The length of the string. |
- Returns
- The value.
The documentation for this struct was generated from the following file: