Fixed bug that applying the toFixed() method on a string causes problems in rendering task
Need to make sure only apply toFixed() method to floats, not to strings