Don't use field digits to format float/Decimal in domain_parser

The conversion of a domain into string should keep the same significant digit,
which means to not use the field digits definition but significant digit of the
value.

issue3266
review1051002
Use instance of IconFactory to register icon