add support for a numberFormatter callback