decimal type problem

classic Classic list List threaded Threaded
2 messages Options
hcr
Reply | Threaded
Open this post in threaded view
|

decimal type problem

hcr
 
 
 Hi.
   1. Does Orbeon support decimal type?
   2. How to caculate decimal type?
 



22元超值饭面,8.5折纯珍比萨,必胜宅急送网上点餐优惠多

--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: decimal type problem

Erik Bruchez
Administrator
>    1. Does Orbeon support decimal type?

This type (xs:decimal) is supported in XPath 2, which we use.

>    2. How to caculate decimal type?

You can convert values to decimals using the xs:decimal() constructor  
in XPath, e.g.:

    xs:decimal(/foo/bar) * xs:decimal(/some/other/value)

-Erik

--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws