GLib.unichar_digit_value
Description: Reference for GLib.unichar_digit_value

### 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`

  Type: `gunichar`

  A Unicode character.

#### Return value

Type: `gint`

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