- Picture and text skills
- Case
Truncate the decimal part of the number and return an integer.
Syntax
TRUNC(number,num_digits)
Number The number that needs to be truncated.
Num_digits numbers used to specify rounding precision . The default value of Num_digits is 0.
Description
Function TRUNC is similar to function INT, both return integers. The function TRUNC directly removes the decimal part of the number, while the function INT is based on the given
The value of the decimal part of a number, rounded to the nearest whole number.
Articles are uploaded by users and are for non-commercial browsing only. Posted by: Lomu, please indicate the source: https://www.daogebangong.com/en/articles/detail/shu-xue-he-san-jiao-han-shu-TRUNC-han-shu-jie-qu-shu-zi-xiao-shu-bu-fen.html
评论列表(196条)
测试