added extension to float for formatting
formatting extension