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: If @c is a decimal digit (according to g_unichar_isdigit()), its numeric value. Otherwise, -1.

Meta