Formatting Floating Point Numbers In Python Class