![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEignv9kIInKW75R1gLOATbdIMeQbIYUxSqZbYU9rQbhtAWAGLX7sP1aEPcOe17b2hb8KeiC8_zh0Pf5BHYrToIgRVMw4uRQjyT5Djhc-mdSj1E5GhN7ZMcLPzWIAeBYFYalNN_C/s400/python-logo-master-v3-tm-flattened.png)
In this case we will be executing a command like round(123.783635, 2) because we like to have to numbers behind the digit. if we would like to have 1 number behind the digit we change the last number, something like; round(123.783635, 1).
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjHnafiUIoDXjSFJKK20e-ZrAYywvzcZ42cpZk2Dj77aqJDLyc7M7HijnJzgts8Nt8PUYIStFRGWi7GFmaCKpPyZgRiz7xisFRfomYSFK3O3wuorRJQ_xEiS3uEKTQWAQtbgAgH/s400/0-round_numbers_in_python.png)
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQWkCde8a5QKL5w9FUD6DAy4x_vl65VIelBUQ5fzCYbZazcRE3pg1yVCNpPmaX_QV-95iLnF8hUXCRnNN-0a9YlM-Fe6QBsAsNWOiE_4RiWWZ-udYiquDExcPoR-C0gPsk_1RK/s400/1-round_numbers_in_python.png)
The personal view on the IT world of Johan Louwers, specially focusing on Oracle technology, Linux and UNIX technology, programming languages and all kinds of nice and cool things happening in the IT world.
No comments:
Post a Comment