Function
GLibascii_digit_value
since: 2.0
Description
Determines the numeric value of a character as a decimal digit. If the
character is not a decimal digit according to g_ascii_isdigit(),
-1 is returned.
Differs from g_unichar_digit_value() because it takes a char, so
there’s no worry about sign extension if characters are signed.
Available since: 2.0