If display print method does not have overload where you can specify number of decimals, then use sprintf to format it