Re: strange math
This WebDNA talk-list message is from 2004
It keeps the original formatting.
numero = 57016
interpreted = N
texte = The easiest code to use if the variables might be blank but won't be anything else non-numeric (e.g. not equal to space or ABC) is something like this:[math]0[var1]+0[var2][/math]....which will turn a blank value into a zero, or a number like "12" into the equivalent number "012", either of which math is ok with.- brianOn Mar 18, 2004, at 9:12 AM, BRAUN, STEPHEN wrote:> Yes, I think that I want to set my variables to zero, before they are > used.> How would one do that exactly?>> I've tried [raw][/raw] and [text][/text] and [url][/url] and> [math][/math]>> No luck> Thanks,> sfb-------------------------------------------------------------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:
The easiest code to use if the variables might be blank but won't be anything else non-numeric (e.g. not equal to space or ABC) is something like this:[math]0[var1]+0[var2][/math]....which will turn a blank value into a zero, or a number like "12" into the equivalent number "012", either of which math is ok with.- brianOn Mar 18, 2004, at 9:12 AM, BRAUN, STEPHEN wrote:> Yes, I think that I want to set my variables to zero, before they are > used.> How would one do that exactly?>> I've tried [raw][/raw] and [text][/text] and [url][/url] and> [math][/math]>> No luck> Thanks,> sfb-------------------------------------------------------------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/
Brian Fries
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)
&FieldNametype=time unnecessary? (2000)
Table code broken? (2004)
WCS Newbie question (1997)
Math Function (1997)
(1997)
Nesting format tags (1997)
WebCatalog [FoundItems] Problem - AGAIN - (1997)
Search/sort in URL Was: GuestBook example (1997)
Big Databases (1997)
[ot] Network Configuration and IP Addressing (2005)
WebCatb15 Mac CGI -- [purchase] (1997)
[WebDNA] Putting '&search' into URL killing all search contexts (2010)
Comments Convertion (1998)
show all problem (1997)
Hiding HTML and page breaks (1997)
NT or Mac (1998)
form variables (2000)
WC Database Format (1997)
WebCat 3.04-3.07 plug-in dying on server.... (2000)