數字函數
更新時間 2025-06-17 10:58:09
最近更新時間: 2025-06-17 10:58:09
分享文章
本文介紹DRDS支持的數字函數。
| 函數表達式 | 函數描述 |
|---|---|
| CRC32() | Compute a cyclic redundancy check value |
| DEGREES() | Convert radians to degrees |
| DIV | Intger division |
| EXP() | Raise to the power of |
| FLOOR() | Return the largest integer value not greater than the argument |
| LN() | Return the natural logarithm of the argument |
| LOG10() | Return the base-10 logarithm of the argument |
| LOG2() | Return the base-2 logarithm of the argument |
| LOG() | Return the natural logarithm of the ?rst argument |
| MOD() | Return the natural logarithm of the ?rst argument |
| %, MOD | Modulo operator |
| PI() | Modulo operator |
| POW() | Return the argument raised to the speci?ed power |
| POWER() | Return the argument raised to the speci?ed power |
| RADIANS() | Return argument converted to radians |
| RAND() | Return a random ?oating-point value |
| ROUND() | Round the argument |
| SIGN() | Return the sign of the argument |
| SIN() | Return the sine of the argument |
| SQRT() | Return the square root of the argument |
| TAN() | Return the tangent of the argument |
| TRUNCATE( | Truncate to speci?ed number of decimal places |
| ABS() | Return the absolute value |
| ACOS() | Return the arc cosine |
| ASIN() | Return the arc sine |
| ATAN() | Return the arc tangent |
| ATAN2(),ATAN() | Return the arc tangent of the two arguments |
| CEIL() | Return the smallest integer value not less than the argument |
| CEILING() | Return the smallest integer value not less than the argument |
| CONV() | Convert numbers between difffferent number bases |
| COS() | Return the cosine |
| COT() | Return the cotangent |