SQL - 92包括DECIMAL数据类型,它是用于表示定点小数的精确数字类型,它可以对小数进行基本的算术运算。
SQL-92 includes a decimal data type, which is an exact numeric type for representing fixed point decimal Numbers and performs basic arithmetic operation on decimal Numbers.
由于所有字符数据都是字符串,因此Net . Data将使用内置函数来对表示有效数字(包括用指数形式表示的数字)的字符串执行算术运算。
Because all character data is a string, Net.Data USES built-in function to perform arithmetic operations on a string that represents a valid number, including those in exponential formats.
通常的经验是,在Android设备中,浮点数会比整型慢两倍,在缺少FPU和JIT的G1上对比有FPU和JIT的Nexus One中确实如此(两种设备间算术运算的绝对速度差大约是10倍)
This is true on a FPU-less, JIT-less G1 and a Nexus One with an FPU and the JIT. (Of course, absolute speed difference between those two devices is about 10x for arithmetic operations.)
应用推荐