Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - Re: Math and xsl [Thread Next] Re: Math and xslTo: NULL Date: 6/2/2005 3:26:00 PM > I've tried using the <amount> field but ran into a problem determining > where to insert a decimal. Some books are sold in complete volume sets > and could be priced in the hundreds of dollars. For me, as an xsl/xpath > newbie, that's difficult. You're going to have a similar problem with a formatted price of say: $1,234.56 using the Amount fields, is it not as simple as this: <xsl:value-of select="(books/book/listprice/amount - books/book/ourprice/amount) / 100"/> Brian | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
