Round value- Error
big_show <[email protected]> Wed, 12 Nov 2008 10:00:40 -0800 (PST)
| Newsgroups | gmane.text.xml.xpath.general |
|---|---|
| Message-ID | <[email protected]> |
Hi:
I have one problem in XFORMS.
I have this bind which is a calculation of a total.
<xforms:bind id="total"
nodeset="/aval_desemp_gestao_operacional/valor_desempenho"
calculate="(0.2*instance('aval_desemp_gestao_operacional')/vdo)
+(0.25*instance('aval_desemp_gestao_operacional')/vdr)
+(0.25*instance('aval_desemp_gestao_operacional')/vde)
+(0.3*instance('aval_desemp_gestao_operacional')/vdg)" />
The Field valor_desempenho is a float and I needed to round this calculation
to two decimal places. Is it possible?
How can I do?
Thanks!
--
View this message in context: http://www.nabble.com/Round-value--Error-tp20465856p20465856.html
Sent from the w3.org - www-xpath-comments mailing list archive at Nabble.com.