That's going to give me a float.
那将会给我们一个浮点数。
所以f不是已经是个浮点数了吗?
它不返回float数。
它就给我一个浮点数。
String value is convertible to a float.
字符串值可以转换为Float。
有些人希望汇率浮动。
He also didn't think to take a float or a dive flag with him.
他也没有准备任何飘浮物和潜水旗。
There's a float and a double version to maintain the type.
一个float和一个double版本可用来维护这种类型。
At this point, the price is converted from a string to a float.
现在,价格从一个字符串转换为一个浮点类型。
At this point, the price is converted from a string into a float.
现在,价格被从一个字符串转换成了一个浮点类型。
Because ln is a List, adding a Float to it seems perfectly legal.
因为ln是List,所以向其添加float似乎是完全合法的。
A float operated switch in the relay is used to initiate an alarm signal.
继电器内的浮控开关发动报警信号。
If I wanted to get full, real division, I should make one of them a float.
如果我想要得到真正的除法答案,我需要把他们之中的一个,变为浮点数类型。
But if I say turn this into a float, ah it throws a value error exception.
它就会抛出一个值错误异常了,它会告诉我输入了一种错误的值。
Putting these together, a float is interpreted as sign * mantissa * 2exponent.
综合起来,浮点数是这样表示的:sign*mantissa*2exponent 。
I can't rely on the user. I want to make sure I get a float in it, so how do I do that?
我想确保这儿我得到的是一个浮点数,我该怎么做呢?
If the argument is zero, then the result will be -127 for a float and -1023 for a double.
如果参数为0,则对应的浮点数和双精度数的结果分别是- 127和- 1023。
And as you might expect, I'm going to then try and see if I can convert that into a float.
正如你希望的我要试着把他们转化为浮点数,等一等。
Next, you find the token that corresponds to your stock quote and return it as a float.
接着,查找股票报价所对应的记号并将它作为float值返回。
The memory space of a float or double value is limited, so some values cannot be represented.
浮点或者双精度浮点的内存空间是限定了的,所以某些值不能被表示。
It will make your method more readable if you typedef a float to be used within this method.
如果在该方法中使用typedef float语句,这将使该方法更具可读性。
If the argument is NaN or Inf, then the result will be 128 for a float and 1024 for a double.
如果参数为NaN或Inf,则对应的浮点数和双精度数的结果分别是128和1024。
I am hoping the NC LoCo team will want to participate and maybe we can even have a float - who knows.
我希望北卡的本地社团将希望参与或许我们甚至可以做一个彩车呢——谁知到呢。
In Listing 12, if f1 were a double and result a float, you would see an error during compilation.
在清单12中,如果f 1是double,而result是float,在比较时就会出现错误。
Optimum vertical constraint. A float box must be placed as high as possible within its containing block.
最佳垂直限制:浮动框必须被置于此包含块内尽量高的地方。
If any of the operands is a float, then all operands are evaluated as floats, and the results are floats.
如果任意一个操作数是浮点型的,则所有操作数都将按浮点型进行计算,并且结果也是浮点型的。
A float is used to specify the weight for an item in the fb: random-option tag and the version number in fb: FBML.
浮点数在fb: random - option中指定权重,以及在fb:fbml中指定版本号。
This response should throw an exception because the temperature value is not a float type — it is actually a string.
这个响应会抛出一个异常,因为温度的值不是浮点类型—它实际上是一个字符串。
For example, the number 2,000,000,001 (two billion and one) can be represented exactly as an int, but not as a float.
例如,2,000,000,001(二十亿零一)可以精确表示为一个int,而不是一个 float。
For example, the number 2,000,000,001 (two billion and one) can be represented exactly as an int, but not as a float.
例如,2,000,000,001(二十亿零一)可以精确表示为一个int,而不是一个 float。
应用推荐