[XSL-LIST Mailing List Archive Home]
[Reply To This Message]
Re: Rounding to the nearest .25?
Subject: Re: Rounding to the nearest .25?|
From: Steve <subsume@xxxxxxxxx>
Date: Wed, 23 Aug 2006 13:15:54 -0400
more a question for [algebra]. Thanks guys.
On 8/23/06, Zaleski, Matthew (M.E.) <mzaleski@xxxxxxxx> wrote:
<xsl:value-of select="round($original_value*4) div 4"/>
would be my guess.
> -----Original Message-----
> From: Steve [mailto:subsume@xxxxxxxxx]
> Sent: Wednesday, August 23, 2006 12:57 PM
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: Rounding to the nearest .25?
> Given a set of numbers like 58.12308, 9.848, 38.97131, how
> can I get these things to be 58, 9.75, and 39, respectively?
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format