You are viewing our older product's guide. Click here for the documentation of GoodData Cloud, our latest and most advanced product.
Rounding and Truncation Functions
To manage precision in your metric computations, MAQL supports functions that control how values are rounded.
You can use functions to round to the nearest integer or to a defined number of decimals of precision.
For specific types of rounding, the FLOOR() and CEILING() functions round up and down, respectively, to the nearest integer. The TRUNC() function removes digits of precision without applying any rounding.