这时,我就知道找到了在多字节整数格式中需要的字节数。
When this happens, I know that I have found the required number of bytes in the multi-byte integer format.
回想在本系列第一篇文章中的讨论,在希望使用多字节整数格式的时候,必须将第一个长度字节的最左边一位设置为1。
Recall from the discussion in the first article of this series that whenever I want to use multi-byte integer format, I must set the leftmost bit of the first length byte to 1.
所以自变量(数据)-无论是浮点数、整数、字符串还是复杂对象-都要编码成可以传输到RPC接收方的格式。
So the arguments (the data) — whether they are floating-point Numbers, integers, character strings, or complex objects — are encoded into a format that can be transferred to the RPC receiver.
易于读取日期、持续时间、货币、整数、双精度、百分比和布尔值格式的数据。
Easy to read format data for date, duration, currency, integers, doubles, percentage and Boolean.
表示定义(Representational definition)主要定义在IT系统中如何表示每个术语,比如整数、字符串或日期格式(参考数据类型)。
Representational definitions focus on how each term is represented in an IT system such as an integer, string or date format (see data type).
n —用于整数位,以告知格式化程序将此Number对象转变成一个数字。
n — is used for numbers, and denotes to the formatter to turn this Number object into a number.
由于这个结果保存在一个整数变量中,因此,显示值的消息应该使用一个格式化代码,为代码填充具有前导零的四个字符。该代码数量不到1000个。
Because this result is held in an integer variable, a message to display the value should use a formatting code to pad to four characters with leading zeros for codes that are numbered less than 1000.
要格式化字符串的宽度,请在A后面放入一个整数。
To format the width of a character string, follow the a with an integer.
例如,某个特定服务可能将客户id生成为整数值,但目标服务期望ID为组合使用字符和整数的格式。
For example, a particular service might generate the customer ID as integer values, but the target service expects the ID in a different format using a combination of characters and integers.
无论传递的是整数还是预格式化的字符串,都没有关系,最终传送的SOAP消息都是一样的。
It doesn't matter whether we pass in an integer or a pre-formatted string, the SOAP messages that flow as a result are identical.
您还可以选择内存以什么格式显示:十六进制、ASCII、EBCDIC、整数。
You can also choose which format the memory will be displayed in: Hex, ASCII, EBCDIC, signed integer, and unsigned integer.
于是我们使用strtotime函数将其转化成整数,然后使用strftime格式化该整数,以便于表示。
So we use the strtotime function to convert this to an integer, and then strftime to format it for presentation.
对于这种情况,您可以使用Convert来确保字符串格式的年龄(预期的值,但不一定要为整数值)在目标中为一个整数值。
In this case, you can use a Convert to ensure that the string age, which is expected, but not required to be an int, is actually an int in the target.
通过Triplify插件和在查询中调整数据列,Triplify可以分析查询所返回的数据,并以前面提到的格式对外提供数据。
By using the plugin and ordering the columns in the application queries, Triplify can analyze the data returned by the applications queries and make them available in the previously mentioned formats.
你看,经过格式化后,结果就是字符串'42'了,而不是再是整数值42了。
The result is the string '42', which is not to be confused with the integer value 42.
另外一个方法就是用格式运算符,也就是百分号%。在用于整数的时候,百分号%是取余数的运算符。但当第一个运算对象是字符串的时候,百分号%就成了格式运算符了。
An alternative is to use the format operator, %. When applied to integers, % is the modulus operator. But when the first operand is a string, % is the format operator.
使用指定之文化特性专属格式资讯,将指定之物件的值转换为16位元带正负号的整数。
Converts the value of the specified object to a 16-bit signed integer, using the specified culture-specific formatting information.
使用指定之文化特性专属格式资讯,将指定之物件的值转换为32位元带正负号的整数。
Converts the value of the specified object to a 32-bit signed integer, using the specified culture-specific formatting information.
使用指定之文化特性专属格式资讯,将指定之物件的值转换为16位元不带正负号的整数。
Converts the value of the specified object to a 16-bit unsigned integer, using the specified culture-specific formatting information.
使用指定的区域性特定格式信息,将指定对象的值转换为64位无符号整数。
Converts the value of the specified object to a 64-bit unsigned integer, using the specified culture-specific formatting information.
使用指定的区域性特定格式信息,将指定对象的值转换为64位带符号整数。
Converts the value of the specified object to a 64-bit signed integer, using the specified culture-specific formatting information.
您可以将 “D”标准数值格式字串与有效位数规范一起使用,以前置字元零填补整数。
You can pad an integer with leading zeros by using the "D" standard numeric format string together with a precision specifier.
通过使用自定义数字格式字符串,可以用前导零填充整数和浮点数。
You can pad both integer and floating-point numbers with leading zeros by using a custom numeric format string.
数据仓库中的数据经过简单的整数映射可以直接作为序列模式挖掘算法的输入,为高效地挖掘序列模式提供了高质量的数据和统一的格式。
Data after simply integer mapping can be used as the input of sequential pattern mining, this afford high quality data and uniform format for quickly mining sequential pattern.
我们希望它返回一个整数,以表示从公元纪年到现在的秒数,但实际上得到的是按照ISO 8601格式化的字符串。
We might like it to be returned as an integer representing seconds since the Epoch, but in fact we are given a string formatted according to ISO 8601.
尝试将指定之样式及文化特性专属格式之数字的字串表示,转换为它的16位元不带正负号的整数对应项。
Tries to convert the string representation of a number in a specified style and culture-specific format to its 16-bit unsigned integer equivalent.
使用指定之文化特性专属格式资讯,将指定之物件的值转换为32位元不带正负号的整数。
Converts the value of the specified object to a 32-bit unsigned integer, using the specified culture-specific formatting information.
将所指定文化特性专属格式之数字的字串表示,转换为它的相等16位元带正负号的整数。
Converts the string representation of a number in a specified culture-specific format to its 16-bit signed integer equivalent.
将所指定文化特性专属格式之数字的字串表示,转换为它的相等16位元带正负号的整数。
Converts the string representation of a number in a specified culture-specific format to its 16-bit signed integer equivalent.
应用推荐