How do you round a number to N decimal places

I’m just trying to short the number to lets say 2 decimal places.

for example I want to turn:
pi=3.14159265359
to just
pi=3.14

I hope you can understand me know, or at least more clear to understand.

1 Like