/ / Come posso arrotondare i valori in XPath - xpath, bpel

Come posso arrotondare i valori in XPath - xpath, bpel

Qualcuno sa come posso arrotondare un valore in business rules (BPEL)? ho provato fn: ceiling (num) e @round (num) e anche Bigdecimal Round_Up non funziona.

risposte:

0 per risposta № 1

Non è possibile arrotondare alcun numero in BPEL, ma è possibile farlo con XPath 1.0, che è la lingua di espressione predefinita in BPEL. Vedere http://www.w3.org/TR/xpath/#function-round