[Bug]!calc-Plugin is not working correctly
If I type !calc 5/9 it gives 5/9=0 out, while the correct result is 0.55...
Also, it always rounds downwards, while it should round at .5 or higher upwards.
Štefan Uram commented
5.0/9.0 = 0,555555555555556
Thats how I did it later, but for non-programmer it is very confusing (well, I do know what a Integer and what a Float is but others were complaining about it, too).
AdminEckankar (Admin, Dynamic Skype Bot) commented
This is actually how I intended it.
When you divide two integers, you perform integer division, which throws away any remainder.
I can see how this is confusing, though, so perhaps I should move integral division to //, and let / be float division.
For now, you can use 5.0/9 to bypass it.