added new code to display correct number of significant digits