(solved) About rounding numbers
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
(solved) About rounding numbers
Hi, I need help with rounding numbers to hundredth part/2nd space after comma. Can i do it in a simple way or do I have to write an individual code for that?
Last edited by Doeny on Mon Sep 19, 2022 2:34 am, edited 1 time in total.
- laure44
- Regular
- Posts: 60
- Joined: Mon Mar 08, 2021 10:55 pm
- Projects: Arkan'sTower, Gemshine Lorelei!
- Location: France
- Contact:
Re: About rounding numbers
Code: Select all
round(num,2)
Re: About rounding numbers
Thx, I got it
Who is online
Users browsing this forum: Bing [Bot], Google [Bot], Majestic-12 [Bot]