数组第三个元素是该任务类型的分数,所以我必须调用to_s方法,将该整数转换为字符串。
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.
你如何将十进制整数转换为十六进制整数?
How do you convert decimal in integer to hexadecimal in integer?
指定用于浮点数到整数转换的舍入方式。
Stateless Policy which specifies the rounding mode used for float to integral conversions.
就如你可能猜想的那样,整数转换优先级用于定义表达式求值的规则。这些规则叫做整型提升和常用算术转换。
As you probably suspect, the integer conversion rank is used to define the rules for expression evaluation. Those rules are named the integer promotions and the usual arithmetic conversions.
例如,htonl (3)、ntohl(3)用来转换32位整数。
For example, htonl (3), ntohl (3) are used to convert 32-bit integers.
例如,当配置客户编号(CUST_NO)转换时,我将这个属性定义为整数(图3)。
For example, when configuring the customer number (CUST_NO) transformation, I defined this attribute as Integer (Figure 3).
量化步骤会进行实际的压缩动作,部分信息会丢失。转换步骤的输出值经过取整,大部分是零,只留下几个整数系数。
The quantization step is the actual information-losing step where compression occurs; the output values of transform are rounded, mostly to zero, leaving only a few integer coefficients.
常用算术转换规则规定在任意整数运算时首先执行整型提升。
The usual arithmetic conversion rules state that first you perform the integer promotions on any integer operands.
使用指定的区域性特定格式信息,将指定对象的值转换为64位无符号整数。
Converts the value of the specified object to a 64-bit unsigned integer, using the specified culture-specific formatting information.
将指定的十进制数的值转换为等效的8位带符号整数。
Converts the value of the specified decimal number to an equivalent 8-bit signed integer.
将指定的十进制数的值转换为等效的64位带符号整数。
Converts the value of the specified decimal number to an equivalent 64-bit signed integer.
将指定的十进制数的值转换为等效的8位无符号整数。
Converts the value of the specified decimal number to an equivalent 8-bit unsigned integer.
将指定的十进制数的值转换为等效的32位无符号整数。
Converts the value of the specified decimal number to an equivalent 32-bit unsigned integer.
要将布尔值或整数存储到项目集,需要将该值转换为字符串。
To store a boolean value or an integer to the item set, the value needs to be converted to a string.
任何指针类型可以转换为整数型。
使用指定的区域性特定格式设置信息,将指定对象的值转换为8位无符号整数。
Converts the value of the specified object to an 8-bit unsigned integer, using the specified culture-specific formatting information.
对于不能将字符串转换为整数的情况,将在目标字段中使用一个用户指定的默认整数。
In cases where the string cannot be converted to an integer, a user-specified default int is placed in the target field.
显然,我们需要消除换行并转换为整数,然后才能进行有用的计算。
Clearly, we need to get rid of the newlines and covert to integers before we can do any useful calculations.
类似地,htons (3)、ntohs (3)用来转换16 位整数。
Similarly, htons (3), ntohs (3) are used for 16-bit integers.
每个已保存的属性是一个简单的字节数组,但是可以将该属性转换为Boolean、整数或字符串属性。
Each stored attribute is a simple array of bytes, but it's possible to interpret the attribute as a Boolean, integer, or string attribute.
如果在表达式中混合使用无符号和有符号的32位整数,并将其赋值给一个有符号的long类型,那么将其中一个操作数转换成64位的类型。
In cases where unsigned and signed 32-bit integers are mixed in an expression and assigned to a signed long, cast one of the operands to its 64-bit type.
本文以实现整数倍抽取内插的CIC滤波器为基础,提出了一种实现分数倍采样率转换的时变CIC滤波结构。
This paper designs a time-variable CIC filter based on CIC filter for fractional ratio sample rate conversion.
例如,不能将字符串“HX25”转换为整数。
For example, you can't convert the string "HX25" into an integer.
每个用户名都转换为这些分配的整数之一。
如果组件期望的是有符号整数,就请确保将您的数据先转换成有符号整数再进行检查。
If the component expects signed integers, make sure that you convert your data to signed integers and then check.
有理数采样速率转换可以划分为整数倍和分数倍采样率转换。
Rational ratio conversion can be realized by integer and fraction ratio conversion.
实现整数倍采样率转换可以采用时不变滤波器,然而实现分数倍采样率转换一般需要采用较复杂的时变滤波器。
For integer ratio conversion, the filters would be time-invariant, but for fractional ratio conversion, the filters would be time-variant whose structure is more complex.
因为相当多的RDBMS以相同的方法返回整数数据,没有必要转换整数数据。
Since pretty much every RDBMS returns integer data the same way there is no need to convert integer data.
在此示例中,第一个单元测试将数据库中的值转换为字符串,第二个单元测试将这些值转换为整数。
In this example, the first unit test converted the values from the database into strings and the second unit test converted them to integers.
在此示例中,第一个单元测试将数据库中的值转换为字符串,第二个单元测试将这些值转换为整数。
In this example, the first unit test converted the values from the database into strings and the second unit test converted them to integers.
应用推荐