深度计算器计算结果问题
Tofloor
poster avatar
Hansen
deepin
2017-12-12 02:29
Author


为啥10%3=0.3呢?应该等于1啊
Reply Favorite View the author
All Replies
avatar
zhjsun
deepin
2017-12-12 02:49
#1
这是百分号,不是取余吧
Reply View the author
avatar
Lyvnee
deepin
2017-12-12 02:55
#2
你这个表达式在深度计算器的意思是百分之十乘以三
Reply View the author
avatar
电脑迷
deepin
2017-12-12 03:36
#3
The user is banned, and the content is hidden.
avatar
Hansen
deepin
2017-12-12 04:06
#4
https://bbs.deepin.org/post/150010
把%当作取余的绝对是程序员

中枪…
Reply View the author
avatar
Hansen
deepin
2017-12-12 04:07
#5
https://bbs.deepin.org/post/150010
你这个表达式在深度计算器的意思是百分之十乘以三

这个,今天才知道,涨姿势了...
Reply View the author
avatar
fengying6_6
deepin
2017-12-12 04:37
#6
https://bbs.deepin.org/post/150010
把%当作取余的绝对是程序员

% 不是取余难道还是别的意思么
Reply View the author
avatar
要讲武德
deepin
2017-12-12 04:58
#7


应该是10 × %3的意思. 只有编程里%才代表取余数吧

Reply View the author
avatar
蒙笛
deepin
2017-12-12 05:24
#8
在win10下,输入10%,秒变0,所以没有机会输入10%3;
Reply View the author
avatar
电脑迷
deepin
2017-12-13 00:57
#9
The user is banned, and the content is hidden.