English (Español a continuación)
This function rounds a number, either from a integral number or from a decimal number.
- @ROUND (23,783, 1) = 23,8
The structure of this function consists of 3 parts:
- @ROUND («A», «B», «C»);
Part «A»: determines the value to be rounded. It can be specified by a member, a variable, a function …
Part «B»: is a number that determines the digit of the number from which it is rounded.
If the number is zero or positive it determines the number of decimal places to be left:
- @ROUND (23,783, 0) = 24
- @ROUND (23,783, 1) = 23,8
- @ROUND (23,783, 2) = 23,78
- @ROUND (23,783, 3) = 23,783
If the number is negative, determine the integral number from which it is rounded:
- @ROUND (17652, -1) = 17650
- @ROUND (17652, -2) = 17700
- @ROUND (17652, -3) = 18000
- @ROUND (17652, -4) = 20000
Part “C”: It is optional and in fact it is rarely used. It is used to select the algorithm that essbase uses for rounding. By not specifying it, essbase uses the standard system.
Let’s see an example:
- FIX(“Sales”)
- “Sales_1” = @ROUND(“Sales”,2);
- ENDFIX

Any question, please send an email to: essbaseeasy@gmail.com
Español
Esta función permite redondear un número a partir de una cifra determinada, bien desde una cifra entera bien desde una cifra decimal.
@ROUND(23,783, 1) = 23,8
La estructura de esta función consta de 3 partes:
@ROUND(“A”,”B”,”C”);
Parte “A”: determina el valor que se quiere redondear. Se puede especificar mediante un miembro, una variable, una función…
Parte “B”: es un número que determina la cifra del número a partir de la cual se redondea.
Si el número es cero o positivo determina el número de decimales que se van a dejar:
- @ROUND(23,783, 0) = 24
- @ROUND(23,783, 1) = 23,8
- @ROUND(23,783, 2) = 23,78
- @ROUND(23,783, 3) = 23,783
Si el número es negativo determina la cifra entera a partir de la que se redondea:
- @ROUND(17652, -1) = 17650
- @ROUND(17652, -2) = 17700
- @ROUND(17652, -3) = 18000
- @ROUND(17652, -4) = 20000
Parte “C”: Es opcional y de hecho no se suele utilizar. Sirve para seleccionar el algoritmo que utiliza essbase para el redondeo. Al no especificarlo essbase utiliza el sistema estándar.
Veamos un ejemplo:


Cualquier consulta envía, por favor, un correo a: essbaseeasy@gmail.com