显式数值转换用于通过显式转换表达式,将任何数字类型转换为任何其他数字类型。对于它不存在隐式转换。
Explicit numeric conversion is used to convert any numeric type to any other numeric type, for which there is no implicit conversion, by using a cast expression.
SimpleJPA会对依赖于数字类型的对象进行字符串转换和后续的填充(如果需要)。
SimpleJPA does the string conversion and any subsequent padding (if required) for objects that rely on numeric types.
把包含原子值(数字、布尔值或字符串)的变量和另一个此类变量或者文字原子值比较,希望一种类型自动转换成另一种类型。
Comparing a variable having an atomic value (number, Boolean, or string) to another such variable or a literal atomic value, and expecting the type of one to be cast automatically to the other type.
原来的查询比较一个字符串和一个数字,但是在修改后的查询中执行了显式的类型转换。
Here the original query is comparing a string to a number but in the modified query, explicit type-casting has been done.
将数字作为文本对待会产生错误结果,尤其是当这些值是有符号数字时,因此,列文本必须转换为数字类型。
Treating numerical values as text yields incorrect results, especially if those values are signed; therefore, the column text must be converted to a numerical type.
是否应将数字转换为恰当的数据类型(如将“十九”转换为“19”)?
Should the Numbers be converted to the appropriate data type (such as "nineteen" into "19")?
如果要作为数字排序,使用number或者类型转换函数。
To have them sorted as Numbers, use number or a casting function.
我可能得把这个数字变为字符串,请注意我这里是怎么做的,我把这个数字,转化为字符串了,这是我们之前学过的,类型转换的例子,这么一来我就能把它按照有序的。
I take that number and convert it into a string. That's an example of that type conversion we did earlier on.
例如,在Oracle中字符串'1 '可以与数字1比较,但是在DB 2中需要执行显式的类型转换。
For example, in Oracle, a string '1' can be compared with a numeric 1, but in DB2, explicit type-casting needs to be done.
根据数字类型以及是否存在精度说明符,数字会转换为固定点或科学记数法的最紧凑形式。
The number is converted to the most compact of either fixed-point or scientific notation depending on the type of the number and whether a precision specifier is present.
定义转换操作符来简化数字类型之间的缩小和放大转换。
Define conversion operators to simplify narrowing and widening conversions between numeric types.
这取决于你的目标。如果从十六进制转换双,你可以使用c#方法如下:如何:十六进制字符串之间转换和数字类型(c#编程指南)
It depends on your goal. If it is conversion from hex to double, you can use following C# methods: How to: Convert Between Hexadecimal Strings and Numeric Types (C# Programming Guide)
当数字从一种类型强制转换为另一种类型时,通常会发生转换。
Conversion typically occurs when the number is cast from one type to another type.
有些转换类型十分耗费时间,例如从字串转换为数字。
Some types of conversions, such as from a string to a number, are time-consuming.
为了保证密文数据在不解密的情况下能够被检索出来,日期、数字类型的数据需要按照一定的规则转换成字符,并且加密使用的分组密码算法需要进行一些改造。
In order to enable query on ciphertext, date and numeric typed data must be transformed according some rules, and the grouping cipher arithmetic must be changed a little.
此函数接收一个数字型的或非数字型的参数。如果是非数字型的参数,oracle会隐式转换成数字类型。
This function takes as an argument any numeric datatype or any nonnumeric datatype that can be implicitly converted to a numeric datatype.
此函数接收一个数字型的或非数字型的参数。如果是非数字型的参数,oracle会隐式转换成数字类型。
This function takes as an argument any numeric datatype or any nonnumeric datatype that can be implicitly converted to a numeric datatype.
应用推荐