Function

GLibunichar_digit_value

Declaration [src]

gint
g_unichar_digit_value (
  gunichar c
)

Description [src]

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

Parameters

c gunichar
 

A Unicode character.

Return value

Returns: gint
 

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