tiny python problem

is there any way to make a variable inside GameLogic (i.e. GameLogic.variable) containing a number a float point?

I do not think so… why? You can declare a new variable each time the script is run, have a preexisting one each time, (By using a property connected to the player), or if you need a variable that all scripts can access try using the Global Dictionary

what I mean is that I want the variable to be float, not int, so how do I tell python to change it?

float(myVar)

Whenever I have tiny python problems, I usually set a few tiny python traps baited with tiny mice.

But MakinBacon’s solution should work, too.

This, however, requires tiny cheese.

Which requires tiny dairymaids, who require tiny cows, which require OH TO HECK WITH THIS

thank you for answering