The float 7 digits are for a conservative convertion from decimal to float and back to decimal, which you only do once, for the input and final output.(The majority of numbers preserve 8 or 9) Internally a float has slightly more than precision than this. 7 what remains after cutting off typical rounding errors. – More @Wikipedia
Hover over any link to get a description of the article. Please note that search keywords are sometimes hidden within the full article and don't appear in the description or title.