Heya, guys. A quick question from a complete noob.
I'm having a textbutton like this:
Basically I want to quickly convert milliliters to liters, but I only need to show like 1 decimal point. How do I tell RenPy that?
A little bit of explanation:
"g_cumin" is a variable that gathers numbers from different events. I already wrote those events and don't want to re-adjust numbers, they are in milliliters.
I just don't know language at all (not a programmer, just poking around)
I'm having a textbutton like this:
Code:
textbutton "Cum total = "+str(float(g_cumin*0.001))+" L":
blah-blah-blah
A little bit of explanation:
"g_cumin" is a variable that gathers numbers from different events. I already wrote those events and don't want to re-adjust numbers, they are in milliliters.
I just don't know language at all (not a programmer, just poking around)