Re: [math] and ceil

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 57150
interpreted = N
texte = >I'm doing some discounting in my shopping cart, but the math is not working. > >Here's what's in my code: [format .2f][math]ceil([Price]/2)[/math][/format] > What happens when you remove the "ceil"? I can't see what purpose it serves here. Glenn ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: [math] and ceil ( Clint Davis 2004)
  2. Re: [math] and ceil ( John Peacock 2004)
  3. Re: [math] and ceil ( Glenn Busbin 2004)
  4. [math] and ceil ( Clint Davis 2004)
>I'm doing some discounting in my shopping cart, but the math is not working. > >Here's what's in my code: [format .2f][math]ceil([Price]/2)[/math][/format] > What happens when you remove the "ceil"? I can't see what purpose it serves here. Glenn ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Glenn Busbin

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Pass a form (2003) if/then/else in founditems (2001) ERASING DATABASE (1997) Re:E-Mailer (WebCatb15acgiMac) (1997) Cart Unique After Rolling Back Time? (2001) showif and cart (1997) Anyone get webdna to run on apache 2.x on osx? (2006) WebCatalog/Mac 2.1b2 - PIXO (1997) [WebDNA] Need some PHP help (2009) Generating a random image, but avoiding repeated images. (1999) Fedora Core 6 (2007) Blog Software (2006) Email Formatting (1998) Searching for words equal to A or equal to B (1999) Quick ShowIf question (1997) Tax & Shipping (1997) Windows version Trouble Shooting (2007) [ShowIf] and empty fields (1997) WebDNA 5.0 Questions (2003) Number searching/formats (1998)