0

In python it will give a decimal like 52.2 and I was wondering if there was a way to make it round all decimals up to the next number like 53.

2
Contributors
1
Reply
2
Views
7 Years
Discussion Span
Last Post by Shlaa
0

I have only just started learning and I ran into this.

I used

math.ceil(number)

(Where number is enter your number)

Remember to

import math

Edited by Shlaa: n/a

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.