... 非数字值(Not-a-Number,缩写NaN) 5 小数型(The decimal Type) 当定义一个变量并赋值给它时,使用 m 后缀以表明它是一个小数型:decimal decMyValue = 1.0m; ...
基于378个网页-相关网页
So a floating point value again is a number with a decimal point, so it depends.
一个浮点型数据就是一个,带小数点的数。
Just take a look: if this is 9, 5 divided by 9 is always going to be 0 point something, and if you thus have two integers and you're rounding down, which is what happens when you do integral math we're using this operator, I'm going to get zero times whatever.
稍微看一看:如果这是9,5除以9会得到,0点几,如果你用两个整型数,你舍去小数,这就是当你们,用整型数使用这个操作的所发生的事情,我将得到数值0乘以任何一个数字。
应用推荐