Fixed the decimal print bug