fixed basic digits transformation