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 PeacockDirector of Information Research and TechnologyRowman & Littlefield Publishing Group4501 Forbes BoulevardSuite HLanham, MD 20706301-459-3366 x.5010fax 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:
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 PeacockDirector of Information Research and TechnologyRowman & Littlefield Publishing Group4501 Forbes BoulevardSuite HLanham, MD 20706301-459-3366 x.5010fax 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)