Important Notice from AspDotNetStorefront
It is with dismay that we report that we have been forced, through the action of hackers, to shut off write-access to this forum. We are keen to leave the wealth of material available to you for research. We have opened a new forum from which our community of users can seek help, support and advice from us and from each other. To post a new question to our community, please visit: http://forums.vortx.com
Results 1 to 2 of 2

Thread: Percentage on Price

  1. #1
    harsha.gus is offline Senior Member
    Join Date
    Mar 2009
    Posts
    301

    Exclamation Percentage on Price

    i am customizing my XML Style sheet for products.

    i have to display price in this layout with different levels

    for actual price, i used
    Code:
    <xsl:value-of select="aspdnsf:FormatDecimal(Price, 2)"/>
    now i have to show 30% less of this price.
    How can i write formula to display 30% of the
    <xsl:value-of select="aspdnsf:FormatDecimal(Price, 2)"/>

    some thing like
    Code:
    <xsl:value-of select="aspdnsf:FormatDecimal(.70*Price, 2)"/>
    rbgx
    AspDotNetStorefront ML
    v8.0.1.4

  2. #2
    harsha.gus is offline Senior Member
    Join Date
    Mar 2009
    Posts
    301

    Smile never mind it worked

    it worked for me thanks
    rbgx
    AspDotNetStorefront ML
    v8.0.1.4