其基本类型为几种大小的字符、整数和浮点数类型。
The fundamental types are characters, and integers and floating point Numbers of several sizes.
如果我想要得到真正的除法答案,我需要把他们之中的一个,变为浮点数类型。
If I wanted to get full, real division, I should make one of them a float.
像C语言一样,Go提供了一系列的基本类型,常见的布尔,整数和浮点数类型都具备。
Like C, Go offers a handful of primitive types. The usual Boolean, integer and floating-point types are available.
看下上面的清单,实际上我还有一些东西忘了检查,也就是说hy p中存储的,应该是浮点数类型。
Now if you look at that list, there is actually something I didn't seem to check, which is, I said I wanted a float stored in hyp.
好,我们现在回到一些,非基本类型的话题来,我们在过去的几节课里,一直在研究浮点数类型和integer类型。
All right. I want to return to some non-scalar types. So we've been looking, the last couple of lectures, at floating pointing Numbers and integers.
但是输入不是浮点数的话,我这里就会显示一个消息说,你搞砸了,该稍微有点礼貌吧?,然后我们继续执行循环,一直到得到正确类型的输入。
But if it is not, it's going to print out a message here saying, you screwed up, somewhat politely, and it's going to go back around. So it'll just cycle until I get something of the right type.
number(只有浮点数)、boolean和特殊的nil类型都是基本类型。
Strings, numbers (floating point only), booleans, and the special nil type are basic types.
您可以看到,这些文档可以存储包括字符串、整数、浮点数、日期、对象、数组等的各种数据类型。
As you can see, these documents can store various data types include strings, integers, floats, dates, objects, arrays and more.
我要为大家指出这一点的原因是,如果我们想一下以前讲过的,数据类型的种类,浮点数,整数,字符串,它们实际上有相同的行为方式。
The reason I want to point this out to you is, if we go back up to the kinds of data objects we started with, floats, ints, strings, they actually behave the same way.
如果需要其他的数据类型,比如说整数、浮点数或者布尔值,必须使用相应的包装器类来解析字符串。
If you need another data type such as integer, floating point, or Boolean value, you will have to parse the string using the appropriate wrapper class.
简单类型包括字符串、浮点数、整数、枚举等。
Simple types include string, float, integer, enumeration, etc.
EXI引入了数据类型,比如二进制、布尔值、小数、浮点数、整数、无符号整数,以及日期-时间。
EXI introduces data types such as Binary, Boolean, Decimal, Float, Integer, Unsigned Integer, and Date-Time.
区别在于一个事实:计算机中使用的浮点数据类型无法包含每个实数。
The difference lies in the fact that floating-point data types used in computers can't hold every real number.
这不是最好的办法但它确实有用,我可以得到底的值的类型然后,和一个真的浮点数的类型比比,看他们是不是一样?
Now, this is not the nicest way to do it but it'll work. I can look at the type of the value of base and compare it to the type of an actual float and see, are they the same?
DECIMAL数据类型需要的存储空间通常要比浮点数据类型大得多。
The storage required for a DECIMAL data type is potentially much larger than it is for a normal floating-point data type.
通常支持的类型有整数、Boolean、ASCII字符串、双精度带符号浮点数、日期时间、集合、列表、属性。
In general supported types are Integer, Boolean, ASCII string, double-precision signed floating point number, date-time, set, list, properties.
所以正如能够匹配很多值一样,我们也能够匹配很多对象类型,如:整数、浮点数和字符串。
So as well as being able to pattern match over values, such as integers, floating point Numbers and strings, we are also able to pattern match over an objects type.
如果你需要在程序中存储浮点数,必须将变量类型声明为double,就像上面你写add2integers这个程序需要将变量声明为int型一样。
If you need to store floating-point values in a program, you must declare variables of type double, just as you previously had to declare variables of type int to write Add2Integers.
这3 个 64位模型(LP64、LLP64和ILP64)之间的区别在于非浮点数据类型。
The difference among the three 64-bit models (LP64, LLP64, and ILP64) lies in the non-pointer data types.
然后,调用友元函数spacefriend并将类对象的地址作为其参数传递。然后调用template函数,先使用整数类型,然后使用浮点数据类型。
It then calls the friend function spacefriend and passes the class object address as its argument, and calls the template function, beginning with integer types and then floating data types.
SOAP定义简单的数据类型:字符串、整数、浮点数以及负整数(NegativeInteger)。
SOAP defines simple data types: String, Int, Float, and NegativeInteger.
Spring会正确地为“floatList”属性填上浮点数,而不是字符串,因为它能非常聪明地意识到它需要执行类型转换。
Spring will correctly populate the "floatList" property with floats, rather than Strings, as it is smart enough to realize that it needs to perform the type conversion.
这表明cost有一个类型,所谓类型指的是xsi定义的类型,而这个类型又是XSD中定义的浮点数。
This conveys that cost has a type, and by type I mean type as defined by XSI, and that the type is float as defined by XSD.
常数可以是整数、字符、浮点数、字符串、Boolean、octet或枚举型,但不能是any类型或用户定义的类型。
Your constants can be integer, character, floating-point, string, Boolean, octet or enumerated but not of type any or a user-defined type. Here are some examples.
它可以搜索和编辑任何游戏,如整数数据类型,浮点数,字符串,像在游戏打斗皇血不确定数据。
It can search and edit any type of game data such as integer, floating point number, string and uncertain data like blood in game King of Fights.
类似地,在没有本地定点或双精度浮点数支持的平台上,实现必须模拟这些类型。
Similarly, on platforms without native support for fixed-point or double-precision floating-point Numbers, implementations must emulate these types.
对于浮点数及定点类型,M是数字存储的总位数。
For floating-point and fixed-point types, m is the total number of digits that can be stored.
同步变量可以是基础类型,如整数,字符串和浮点数。
SyncVars can be basic types such as integers, strings and floats.
要排序的数据类型有很多种,有整数、浮点数、各种结构(根据某个属性进行比较)等。
To sort data type there are many, there is an integer, floating-point Numbers, all kinds of structure (based on a comparison of the properties) and so on.
要排序的数据类型有很多种,有整数、浮点数、各种结构(根据某个属性进行比较)等。
To sort data type there are many, there is an integer, floating-point Numbers, all kinds of structure (based on a comparison of the properties) and so on.
应用推荐