Unicode.unicharDigitValue

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

class Unicode
static
int
unicharDigitValue

Parameters

c gunichar

a Unicode character

Return Value

Type: int

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

Meta