added function to make is so a number uses a specific amount of decimal
places