- import math
- v = 15.186
- print(math.ceil(v*100)/100) # -> 15.19
How can i print this number 15.19 instead of 15.186?
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Rajanikant HawaldarRank #107 · 20.6K reputationPosted Nov 4, 2020, 11:40 PM EST