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.
如果需要其他的数据类型,比如说整数、浮点数或者布尔值,必须使用相应的包装器类来解析字符串。
To model more complex designs, you can type tags by stereotypes and meta-classes, in addition to Boolean, string, integer, user-defined data type, and terms.
危机对更加复杂的设计建模,除了逻辑型,字符串型,整数型,用户自定义的数据类型,您可以对更加复杂的问题建模。
In contrast, the long integer type has unlimited precision, subject to the memory limitations of your computer.
与此相反,长整数类型的精度不受限,仅计算机内存对它有影响。
The WITH ORDINALITY clause causes UNNEST to generate an additional column of type integer that contains the position associated with each element.
WITH ORDINALITY子句使UNNEST生成另一个整数类型的列,包含与每一个元素关联的位置。
When the maximum cardinality in a type definition is omitted, the sub-indexes on values of that type can range from 1 to the maximum positive value of integer type.
省略类型定义中的最大基数时,此类型值上的子索引范围从1到整数类型的最大正值。
Add an attribute (attribute1) of type Integer to this class.
添加一个Integer类型的属性(attribute1)到这个类中。
Add an attribute (attribute1) of type Integer array to this class, and set the default value for it in the Properties TAB for the attribute as shown in Figure 10.
添加一个Integer类型的属性(attribute1)到这个类,并为这个属性在Properties页签上设定它的默认值,如图10所示。
Another optional type is the new intptr_t type, which is an integer large enough to hold a pointer.
另一个可选的类型是新的intptr_t类型,它是一个足够大的可以容纳一个指针的整数。
The time type is also a long integer, representing the number of milliseconds since midnight, local to the timezone in which the property was set.
Time类型也是一个长整数,表示自午夜起的毫秒数,以设置属性时所在的时区为当地时区。
The REF USING INTEGER clause specifies that the INTEGER data type will be used to represent the REFERENCE type of this structured type and all of its subtypes.
REF USINGINTEGER子句指定了 INTEGER数据类型,将使用这个数据类型表示该结构化类型及其所有子类型的 REFERENCE 类型。
For example, you can now change a column defined with a data type of INTEGER to have a data type of VARCHAR, or you can change a data type of TIMESTAMP to DATE.
例如,现在可以修改一个数据类型为INTEGER的列,从而拥有一个VARCHAR数据类型,或者将数据类型从TIMESTAMP修改为DATE。
Re-open the file GSDB. changexml, and then add a new column called PROMO_CODE of type INTEGER to the table GOSALESCT.CUST_ORD.
重新打开 GSDB.changexml文件,然后向 GOSALESCT.CUST_ORD表添加一个类型为INTEGER的新列 PROMO_CODE。
Change the data type of the new feature named value to Integer.
把value特性的数据类型改为Integer。
The key isn't restricted to being an integer; it can be any nonmutable data type, including an integer, float, tuple, or string.
键并不限制为整数;它可以是任何不易变的数据类型,包括integer、float、tuple或string。
To create a single dimensional array of the type a [m] (where m is an integer variable already defined and initialized), apply the cpp_type stereotype on the array variable a in the UML model.
要创建一个类型为a [m]的一维数组(这里的m是一个已经被定义和初始化的整数变量),可以在uml模型中在这个数组变量a上运行cpp _type原型。
A domain is a class or type and indicates the rules, syntax, and semantics for a piece of data (for example, it must be an integer, float, conform to a picture, and so on).
域是类或类型并表示数据的规则、语法及语义(例如,它必需是整型、浮点型、图片类型等等)。
This time a WXS data type is assigned to the attribute, reflecting the schema designer's assumption that the purchase order number should be constrained to an integer.
这一次,WXS数据类型被指定给了该属性,这反映出模式的设计人员认为订单号应该限制为一个整数。
This is due to the encoding of the group information in the binary string, and a grouping parameter of type VARCHAR requires potentially more space than a simple INTEGER value.
这是将分组信息编码到二进制串中的缘故,分组参数类型为VARCHAR,比简单的INTEGER类型潜在地要求更多的存储空间。
One example of this would be the use of the XML: any data type, as opposed to restricting input to an integer or string.
使用xml:any数据类型就是这样的一个例子,它并没有将输入数据限定为整数或者字符串。
The third element of the array is the number of points for this assignment type, so I have to invoke the to_s method to convert that integer into a string.
数组第三个元素是该任务类型的分数,所以我必须调用to_s方法,将该整数转换为字符串。
In the previous program, you used both integer and string data and never had to tell the Scheme language what type of data was being used.
在先前的程序中,您使用了整型和字符串数据,因此没有告诉scheme语言正在使用的是哪种类型的数据。
The exception is thrown by the explicit cast because the test case is trying to convert something of type String to an Integer.
这个异常是由显式类型转换抛出的,因为测试用例试图把类型为String 的东西转换成Integer。
Suppose you want to change the type of a field in an existing class, for example by changing Person's age from an integer type to a short type?
假设要更改已有类中一个字段的类型,例如将Person的age从整型改为短整型。
For example, a value can be cast to another type by using the type name as if it were a function. So you could cast a value to an unsigned integer using the code fragment in Listing 12.
例如,通过使用类型名称可以将一个值强制转换为另一种类型,就象是一个函数一样。
Define the output result set to include an ID column of type integer that is derived from the node specified in the XQuery expression.
定义输出结果集,使之包括一个integer类型的id列,它由XQuery表达式中指定的节点派生而来。
Integer type that holds values greater than or equal to zero.
保存大于等于零的值的整型。
Unfortunately, the Standard permits an implementation to make all of the integer types the same size, and that complicates the rules for when a signed integer type meets an unsigned integer type.
不幸的是,标准允许实现使得所有整数类型都是同样的大小,这使一个有符号整型遇到一个无符号整型时的规则变得复杂了。
However, this is not the normal conversion to an integer type.
然而,这不是通常的到整型的转换。
In general, you don't specify a literal having a particular type; the system will figure out the best way to represent the number. By default, an integer will be used.
一般情况下,你不需要为某个字符决定他的类型,系统会自动挑选最合适的。
In general, you don't specify a literal having a particular type; the system will figure out the best way to represent the number. By default, an integer will be used.
一般情况下,你不需要为某个字符决定他的类型,系统会自动挑选最合适的。
应用推荐