4D v16

TRUNCATE

Home

 
4D v16
TRUNCATE

TRUNCATE  


 

 

Command TRUNCATETRUNCATE (arithmetic_expression[, arithmetic_expression])

The TRUNCATE function returns the first arithmetic_expression truncated to "x" places to the right of the decimal point, where "x" is the second optional arithmetic_expression. If this second arithmetic_expression is not passed, the arithmetic_expression is simply truncated by removing any decimal places.

Example  

See the example for the TRUNC function.



See also 

ROUND
TRUNC

 
PROPERTIES 

Product: 4D
Theme: Functions

 
HISTORY 

 
ARTICLE USAGE

4D SQL Reference ( 4D v16)