For example, how would I change 4.842304203443432 to 4.8?
I tried using math.ceil but that changes it to a whole number. How would I keep one decimal place?
For example, how would I change 4.842304203443432 to 4.8?
I tried using math.ceil but that changes it to a whole number. How would I keep one decimal place?
This discussion is preserved as it was. New answers, comments, and votes are closed.
3 comments
bump
Commenting on questions doesn't bump the question.
Okay, I got the answer from https://scriptinghelpers.org/questions/31645/rounding-to-2-decimal-places if anyone wants an answer too.