Computer Studies‎ > ‎Python‎ > ‎References‎ > ‎

Rounding Example

n = 3.14159265359

print (round(n, 4))

...outputs 3.1416
Comments