diff --git a/python/Rounding.qmd b/python/Rounding.qmd index 62cba6f6..63858de3 100644 --- a/python/Rounding.qmd +++ b/python/Rounding.qmd @@ -7,6 +7,8 @@ Python has a built-in **round()** function that takes two numeric arguments, *nu The default number of decimal is 0, meaning that the function will return the nearest integer. +The round() function in Python will round to the nearest whole number and 'rounding to the even number' when equidistant, meaning that exactly 12.5 rounds to the integer 12. + ```{python} # For integers x= 12