gimp_unit_get_digits - Returns the number of digits of the unit.
SYNOPSIS
digits = gimp_unit_get_digits (unit_id)
DESCRIPTION
This procedure returns the number of digits you should provide in input or output functions to get approximately the same accuracy as with two digits and inches. Note that asking for the digits of "pixels" will produce an error.