Saving LoveLevel as decimal numbers
Issue #15
resolved
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 SetLoveLevel($lovelevel)
saves $lovelevel
as an integer, the 2 digits from before are being cut off, resulting in a lack of accuracy (e.g. 25.75
gets 25
).
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?
Comments (2)
-
-
- changed status to resolved
- Log in to comment
There is actually no reason why this shouldn't be changed... Will do.