override function formatPrecision