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. - brian On 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:

    
  1. Re: [WebDNA] Strange MATH result (Stuart Tremain 2010)
  2. Re: [WebDNA] Strange MATH result (JJ WebDNA 2010)
  3. Re: [WebDNA] Strange MATH result - BUG (Govinda 2010)
  4. Re: [WebDNA] Strange MATH result (christophe.billiottet@webdna.us 2010)
  5. Re: [WebDNA] Strange MATH result (christophe.billiottet@webdna.us 2010)
  6. Re: [WebDNA] Strange MATH result - BUG (Stuart Tremain 2010)
  7. Re: [WebDNA] Strange MATH result - BUG (Govinda 2010)
  8. Re: [WebDNA] Strange MATH result (Stuart Tremain 2010)
  9. Re: [WebDNA] Strange MATH result (Govinda 2010)
  10. Re: [WebDNA] Strange MATH result - BUG (Stuart Tremain 2010)
  11. [WebDNA] Strange MATH result (Stuart Tremain 2010)
  12. Re: strange math ( Brian Fries 2004)
  13. Re: strange math ( devaulw@onebox.com 2004)
  14. Re: strange math ( "BRAUN, STEPHEN" 2004)
  15. Re: strange math ( devaulw@onebox.com 2004)
  16. Re: strange math ( Kenneth Grome 2004)
  17. Re: strange math ( William DeVaul 2004)
  18. Re: strange math ( sbraun 2004)
  19. Re: strange math ( Kenneth Grome 2004)
  20. Re: strange math ( sbraun 2004)
  21. Re: strange math ( Kenneth Grome 2004)
  22. strange math ( sbraun 2004)
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. - brian On 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)