This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com

Home

 
4D v20
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

 
PAGE CONTENTS 
 
HISTORY 

 
ARTICLE USAGE

4D SQL Reference ( 4D v20)