I myself am using some functions to determine the "effectivity" of an action, resulting in love levels with 2 digits behind the decimal point. After calculating the value,
SetLoveLevel($lovelevel) is called. Because
$lovelevel as an integer, the 2 digits from before are being cut off, resulting in a lack of accuracy (e.g.
If I understand the Language Reference correctly (and, of course, the one of Lua), all numbers are being processed as decimal numbers anyway. So what about processing the LoveLevel as a decimal number as well?