数组第三个元素是该任务类型的分数,所以我必须调用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.
对于不能将字符串转换为整数的情况,将在目标字段中使用一个用户指定的默认整数。
In cases where the string cannot be converted to an integer, a user-specified default int is placed in the target field.
要将布尔值或整数存储到项目集,需要将该值转换为字符串。
To store a boolean value or an integer to the item set, the value needs to be converted to a string.
例如,不能将字符串“HX25”转换为整数。
For example, you can't convert the string "HX25" into an integer.
每个已保存的属性是一个简单的字节数组,但是可以将该属性转换为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.
当将字符串作为布尔值使用时,将首先把字符串转换为整数,然后再计算真(非0)或假(0)。
When a string is used as a Boolean, it is first converted to an integer, and then evaluated for truth (non-zero) or falsehood (zero).
h是atoi()函数(将ASCII 码转换为整数)所需要的,该函数将字符串转换为整数。
stdlib.h is needed for the atoi() function (ASCII to integer), which converts a string to an integer.
使用指定的区域性特定格式设置信息,将数字的指定字符串表示形式转换为等效的64位带符号整数。
Converts the specified string representation of a number to an equivalent 64-bit signed integer, using the specified culture-specific formatting information.
使用指定的区域性特定格式设置信息,将数字的指定字符串表示形式转换为等效的64位无符号整数。
Converts the specified string representation of a number to an equivalent 64-bit unsigned integer, using the specified culture-specific formatting information.
尝试将数字的字符串表示形式转换为等效的64位无符号整数。
Tries to convert the string representation of a number to its 64-bit unsigned integer equivalent.
在此示例中,第一个单元测试将数据库中的值转换为字符串,第二个单元测试将这些值转换为整数。
In this example, the first unit test converted the values from the database into strings and the second unit test converted them to integers.
将指定基的数字的字符串表示形式转换为等效的64位无符号整数。
Converts the value of the specified double-precision floating-point number to an equivalent 64-bit unsigned integer.
所有元素和属性都是字符串,但是在进行数字比较时会自动被强制转换为整数值。
All elements and attributes are strings, but are automatically cast as integer values for numeric comparisons.
尝试将数字的指定样式和区域性特定格式的字符串表示形式转换为其等效的64位无符号整数。
Tries to convert the string representation of a number in a specified style and culture-specific format to its 64-bit unsigned integer equivalent.
如何将十六进制字符串转换为整数。
将数字的指定样式的字符串表示形式转换为其等效的32位无符号整数。
Converts the string representation of a number in a specified style to its 32-bit unsigned integer equivalent.
将指定样式的数字的字符串表示形式转换为它的等效64位无符号整数。
Converts the string representation of a number in a specified style to its 64-bit unsigned integer equivalent.
将数字的指定样式和区域性特定格式的字符串表示形式转换为其等效的16位无符号整数。
Converts the string representation of a number in a specified style and culture-specific format to its 16-bit unsigned integer equivalent.
将数字的指定样式和区域性特定格式的字符串表示形式转换为其等效的32位有符号整数。
Converts the string representation of a number in a specified style and culture-specific format to its 32-bit signed integer equivalent.
将数字的字符串表示形式转换为它的等效16位无符号整数。
Converts the string representation of a number to its 16-bit unsigned integer equivalent.
将数字的指定区域性特定格式的字符串表示形式转换为其等效的32位有符号整数。
Converts the string representation of a number in a specified culture-specific format to its 32-bit signed integer equivalent.
将指定区域性特定格式的数字的字符串表示形式转换为它的等效64位无符号整数。
Converts the string representation of a number in a specified culture-specific format to its 64-bit unsigned integer equivalent.
将指定区域性特定格式的数字的字符串表示形式转换为其等效的64位有符号整数。
Converts the string representation of a number in a specified culture-specific format to its 64-bit signed integer equivalent.
将数字的指定区域性特定格式的字符串表示形式转换为其等效的32位无符号整数。
Converts the string representation of a number in a specified culture-specific format to its 32-bit unsigned integer equivalent.
将整数参数转换为一个表示二进制无符号整数的字符串形式。
Returns a string representation of the integer argument as an unsigned integer in base 2.
将整数参数转换为一个表示十六进制无符号整数的字符串形式。
Returns a string representation of the integer argument as an unsigned integer in base 16.
将整数参数转换为一个表示十六进制无符号整数的字符串形式。
Returns a string representation of the integer argument as an unsigned integer in base 16.
应用推荐