Unicode.unicharDigitValue

Determines the numeric value of a character as a decimal digit.

struct Unicode
static
int
unicharDigitValue
(
dchar c
)

Parameters

c dchar

a Unicode character

Return Value

Type: int

If c is a decimal digit (according to g_unichar_isdigit()), its numeric value. Otherwise, -1.