## Char::IsDigit(char_t) method


Determines whether the specified character is classified as a decimal digit.

```cpp
static bool System::Char::IsDigit(char_t c)
```


| Parameter | Type | Description |
| --- | --- | --- |
| c | char_t | The character to test |

### ReturnValue

True if the specified character is a decimal digit, otherwise - false

## See Also

* Class [Char](../)
* Namespace [System](../../)
* Library [Aspose.PDF for C++](../../../)
## Char::IsDigit(const char_t *, int) method


Determines whether the character at the specified index in the specified character buffer is classified as a decimal digit.

```cpp
static bool System::Char::IsDigit(const char_t *str, int idx)
```


| Parameter | Type | Description |
| --- | --- | --- |
| str | const char_t * | Pointer to the beginning of the character buffer |
| idx | int | A zero-based index in the specified buffer of the character to test |

### ReturnValue

True if the character at the specified index is a decimal digit, otherwise - false

## See Also

* Class [Char](../)
* Namespace [System](../../)
* Library [Aspose.PDF for C++](../../../)
## Char::IsDigit(const String\&, const int32_t) method


Determines whether the character at the specified index in the specified string is classified as a decimal digit.

```cpp
static bool System::Char::IsDigit(const String &str, const int32_t idx)
```


| Parameter | Type | Description |
| --- | --- | --- |
| str | const String\& | A string |
| idx | const int32_t | A zero-based index in the specified buffer of the character to test |

### ReturnValue

True if the character at the specified index is a decimal digit, otherwise - false

## See Also

* Class [String](../../string/)
* Class [Char](../)
* Namespace [System](../../)
* Library [Aspose.PDF for C++](../../../)
