- Edited
im making a tycoon style game, if you have every played one before you would know that some numbers get really big, but normally games have a way of abreaviating numbers so they dont take up the entire screen. im trying to do that, i tried doing:
if money < 1000:
$Control/cash.text = "$" + str(money)
elif money >= 1000:
$Control/cash.text = "$" + str(money/1000) + "K"
elif money >= 1000000:
$Control/cash.text = "$" + str(money/1000000) + "M"
but this did not work like i wanted it to (the numbers were the same but the decimal place was moved)
any ideas on how i can get the working?