Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
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 works fine, except instead of '10,000' the text will show '10000'. I tried putting a comma in the variable, but doing so makes it so I get an error every time I try to do math on it ('-=' '+=' etc.)
My question is, is there a way to add commas to large-numbered variables when you want to show those variables to a player?