unicharDigitValue

fun unicharDigitValue(c: <Error class: unknown class>): <Error class: unknown class>

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

Return

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

Parameters

c

a Unicode character