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:

[WebDNA] TCPConnect/cURL alternative for windows? (2010) showcart is slow (1998) Misc Stuff That Might Help (1997) [WebDNA] Character Confusion: Diamond Shape with a Question Mark inside (2013) Anyone using Verisign's Payflow Link for payment processing? (2000) my price won't move (1997) Converting Quotes in Javascript (2001) [Price] (1997) Displaying photo attached to first record (1997) WC2.0 Memory Requirements (1997) [WriteFile] problems (1997) WCS Newbie question (1997) textarea question (1998) SiteEditPro (1996) Images (2000) WC2b15 File Corruption (1997) RSS Feed (2004) OS X permissions to write to Globals directory (2003) Banners and sort of random display (1997) notification solutions (1997)