unicharDigitValue

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

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