toNeko

toNeko

5.7k Downloads

经典的浮点数精度误差

skybeach-None opened this issue · 1 comments

commented

复现过程:
输入指令/neko level
我期望的:
返回“你的猫猫等级是 0.3 啦”
实际的结果:
返回
Image
可能是故意的?
解决方案:
将等级的记录方式由浮点数改为定点数

commented

已经了解~