W3C home > Mailing lists > Public > www-xpath-comments@w3.org > October to December 2008

Round value- Error

From: big_show <jorge.miguel.sa@gmail.com>
Date: Wed, 12 Nov 2008 10:00:40 -0800 (PST)
Message-ID: <20465856.post@talk.nabble.com>
To: www-xpath-comments@w3.org

I have one problem in XFORMS. 
I have this bind which is a calculation of a total. 

<xforms:bind id="total"
        +(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? 
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.
Received on Thursday, 13 November 2008 00:15:15 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:02:16 UTC