Skip to content
Sign upLog in
How to round
Profile icon

How do you round a number in python? For example, say I have 5.85. I round up to 6. How do you do that in python?

You are viewing a single comment. View All
Profile icon
This website could probably help you out. For your example you could probably use math.ceil.