Re: Math Enhancement Request
This WebDNA talk-list message is from 2004
It keeps the original formatting.
numero = 55876
interpreted = N
texte = Rob Marquardt wrote:> on 2/3/04 10:40 AM, Donovan Brooke at dbrooke@euca.us so noted...> > >>[text]something=[math]35.5-[/math][/text]>>>>[something] does not get parsed to "35.5".>>>>Wouldn't this be an improvement to have 35.5 minus>>nothing equal 35.5?> > > If it's a case where you might be operating on a variable with no value, you> could prefix it with a zero.> > [text]something=[math]35.5-0[somePossiblyEmptyVariable][/math][/text]> > ... but that's just a guess as to where this situation may arise.That is better than my solution![if "[somevar]" = ""][then]0[/then][else][somevar][/else][/if]Thanks Rob,Donovan-- =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o DONOVAN D. BROOKE Eucalyptus Design <-Web Development (specializing in eCommerce), -> <-Graphic Design, and Pre-Press Consultation -> ADDRESS:> Donovan Brooke DBA Eucalyptus Design N2862 Summerville Park Rd. Lodi, WI 53555 PH:> 1.608.592.3567 Web:> http://www.euca.us =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o-------------------------------------------------------------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:
Rob Marquardt wrote:> on 2/3/04 10:40 AM, Donovan Brooke at dbrooke@euca.us so noted...> > >>[text]something=[math]35.5-[/math][/text]>>>>[something] does not get parsed to "35.5".>>>>Wouldn't this be an improvement to have 35.5 minus>>nothing equal 35.5?> > > If it's a case where you might be operating on a variable with no value, you> could prefix it with a zero.> > [text]something=[math]35.5-0[somePossiblyEmptyVariable][/math][/text]> > ... but that's just a guess as to where this situation may arise.That is better than my solution![if "[somevar]" = ""][then]0[/then][else][somevar][/else][/if]Thanks Rob,Donovan-- =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o DONOVAN D. BROOKE Eucalyptus Design <-Web Development (specializing in eCommerce), -> <-Graphic Design, and Pre-Press Consultation -> ADDRESS:> Donovan Brooke DBA Eucalyptus Design N2862 Summerville Park Rd. Lodi, WI 53555 PH:> 1.608.592.3567 Web:> http://www.euca.us =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o-------------------------------------------------------------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/
Donovan Brooke
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:
Not really WebCat (1997)
Fw: Linux w/ apache (2000)
please unsubscribe me! (2000)
Mac Lockup Problems (1998)
Removing items from a cart is wonky... (1998)
ups calculator (2000)
redirect strangeness (2000)
File Upload, Browser Timeout (2003)
Quickie question on the email templates (1997)
Plugin or CGI or both (1997)
question: back button prevention (1997)
webcat and OS 8 (1997)
[WebDNA] Greetings to all (2016)
Not reading code (1997)
Realtime shipping suggestions (2007)
problems with 2 tags (1997)
Undeliverable Mail (1997)
Cobalt RaQ2 and WebCatalog: who uses it? (2000)
AOL and webcat (1998)
listfiles, moving files (1998)