Round Division in RTF
Hello experts,
I have this expression.
<?xdoxslt:ifelse((sum(current-group()/TONELADAS) > 0), xdoxslt:div(sum (current-group()/SALARIES),sum(current-group()/TONELADAS)),0)?>
But this division no round, i want to do this:
<?xdoxslt:ifelse((sum(current-group()/TONELADAS) > 0), xdoxslt:ROUND(div(sum (current-group()/SALARIES),sum(current-group()/TONELADAS)),2),0)?>
No fix this solution, any ideas?
thanks
Carlos
I have this expression.
<?xdoxslt:ifelse((sum(current-group()/TONELADAS) > 0), xdoxslt:div(sum (current-group()/SALARIES),sum(current-group()/TONELADAS)),0)?>
But this division no round, i want to do this:
<?xdoxslt:ifelse((sum(current-group()/TONELADAS) > 0), xdoxslt:ROUND(div(sum (current-group()/SALARIES),sum(current-group()/TONELADAS)),2),0)?>
No fix this solution, any ideas?
thanks
Carlos
0