changed value in decimal function to string