I followed this post to replace the decimal code I had before and it resolved my issue How to round float to x decimal places?
I followed this post to replace the decimal code I had before and it resolved my issue How to round float to x decimal places?