[WebDNA] Math sum

This WebDNA talk-list message is from

2013


It keeps the original formatting.
numero = 110488
interpreted = N
texte = --047d7b471da4c6c6aa04e0a217ce Content-Type: text/plain; charset=ISO-8859-1 Hi All, I want to display a score value that simply adds the sum of the following: [math][showif [varA]=Yes]2[/showif][showif [varB]=Yes]2[/showif][showif [varC]=Yes]2[/showif][math] Adding the + both in the showif and in between them makes it fail if one of the var is not yes. Suggestions? Thanks ~G --047d7b471da4c6c6aa04e0a217ce Content-Type: text/html; charset=ISO-8859-1
Hi All,

I want to display a score value that simply adds the sum of the following:

[math][showif [varA]=Yes]2[/showif][showif [varB]=Yes]2[/showif][showif [varC]=Yes]2[/showif][math]

Adding the + both in the showif and in between them makes it fail if one of the var is not yes.

Suggestions?

Thanks
~G
--047d7b471da4c6c6aa04e0a217ce-- Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Math sum (John Butler 2013)
  2. [WebDNA] Math sum (george r 2013)
--047d7b471da4c6c6aa04e0a217ce Content-Type: text/plain; charset=ISO-8859-1 Hi All, I want to display a score value that simply adds the sum of the following: [math][showif [varA]=Yes]2[/showif][showif [varB]=Yes]2[/showif][showif [varC]=Yes]2[/showif][math] Adding the + both in the showif and in between them makes it fail if one of the var is not yes. Suggestions? Thanks ~G --047d7b471da4c6c6aa04e0a217ce Content-Type: text/html; charset=ISO-8859-1
Hi All,

I want to display a score value that simply adds the sum of the following:

[math][showif [varA]=Yes]2[/showif][showif [varB]=Yes]2[/showif][showif [varC]=Yes]2[/showif][math]

Adding the + both in the showif and in between them makes it fail if one of the var is not yes.

Suggestions?

Thanks
~G
--047d7b471da4c6c6aa04e0a217ce-- george r

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:

Extended [ConvertChars] (1997) Customer - again (1998) WebCat on Alpha? (1997) Bug Report, maybe (1997) Searching multiple Databases (1997) syntax question, not in online refernce (1997) Adding Message to Order (1997) system crashes, event log (1997) 2.0 Info (1997) Credit card types (1997) Globals in 3.x (2002) Webcat table size. (2001) Refering page (1998) WebCatalog can't find database (1997) [WebDNA] [BULK] The WebDAV Server Module / web services (2012) Fwd: 502 Bad Gateway (1998) Blowback and budgets. (2000) [SearchString] usage (1997) Time to opensource? (2006) writing orders to a db (1997)