Re: Math Enhancement Request

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 55865
interpreted = N
texte = Donovan Brooke wrote: > [text]something=[math]35.5-[/math][/text] > > [something] does not get parsed to "35.5". > What does it get interpreted as? That is really poor code, more than anything else. NULL is not the same thing as 0, even in a [math] context, so it is not surprising that it doesn't work that way. I'll bet your original code looked more like this: [text]something=[math]35.5-[somefield][/math][/text] and [somefield] wasn't initialized properly. John -- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4501 Forbes Boulevard Suite H Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5748 ------------------------------------------------------------- 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 Enhancement Request ( Phil Marshall 2004)
  2. Re: Math Enhancement Request ( Donovan Brooke 2004)
  3. Re: Math Enhancement Request ( Donovan Brooke 2004)
  4. Re: Math Enhancement Request ( Rob Marquardt 2004)
  5. Re: Math Enhancement Request ( John Peacock 2004)
  6. Math Enhancement Request ( Donovan Brooke 2004)
Donovan Brooke wrote: > [text]something=[math]35.5-[/math][/text] > > [something] does not get parsed to "35.5". > What does it get interpreted as? That is really poor code, more than anything else. NULL is not the same thing as 0, even in a [math] context, so it is not surprising that it doesn't work that way. I'll bet your original code looked more like this: [text]something=[math]35.5-[somefield][/math][/text] and [somefield] wasn't initialized properly. John -- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4501 Forbes Boulevard Suite H Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5748 ------------------------------------------------------------- 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/ John Peacock

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:

If Else Statement... (2004) shoppingcart reload qty (1997) Date Comparison (1998) [Way OT] Workstation Security (2002) Re:Emailer problem....still (1997) shipping confusion (2000) [format xs] freeze (1997) WebCat2b13MacPlugIn - [include] (1997) Sort of a Dilemma! (1998) Cancel Subscription (1996) webcat restarting script on Linux? (1999) PIXO support (1997) problems with 2 tags (1997) WebCatalog for Postcards ? (1997) Sorting by date (1997) WebCat2b13MacPlugin - nested [xxx] contexts (1997) FlushDatabase Suggestion (1998) Sku numbers (1997) OFF-TOPIC: Lending investors ... (2002) Locking up with WebCatalog... (1997)