Re: Math Context

This WebDNA talk-list message is from

2001


It keeps the original formatting.
numero = 39607
interpreted = N
texte = By default, [text] does not display it's results. There are two ways to deal with this.1) Add show=T to your text context:[text show=T]price=...[/text]2) Display the variable after closing the text context:[text]price=...[/text] [price]Note: The [math] context has the same show parameter, but it defaults to T while [text] defaults to F if the show parameter is not specified.- brianAt 1:36 PM -0600 10/24/2001, Joseph Sullivan wrote: >[text]price=[format >10.2f][math]75.00/30)*({[125x60stopdate]}-{[125x60startdate]})[/math][/forma >t][/text] > >I put this in, then it stops outputting the price in my table, so I put this > >$[format >10.2f][math]75.00/30)*({[125x60stopdate]}-{[125x60startdate]})[/math][/forma >t] > >under it, then It hides the whole page except that one line. Any >Ideas/answers. Sorry to be a pest...Thanks!!! > > >Joseph Sullivan >Mooseweb Corp >joe@mooseweb.com >(406) 889-3410 > >To return good for good is Human; evil for evil is Beast-Like; but good for >evil is Christ-Like. >----- Original Message ----- >From: Anup Setty >To: WebCatalog Talk >Sent: Wednesday, October 24, 2001 12:52 PM >Subject: Re: Math Context > > >> There was a slight mistake in my posting... >> here is the correct one >> >> [text]answer=[format .thousands >> >2f][math]75.00/30)*({[125x60stopdate]}-{[125x60startdate]})[/math][/format][ >> /text] >> >> >> > [text]answer=[format .thousands >> > >> >2f][math]answer=(75.00/30)*({[125x60stopdate]}-{[125x60startdate]})[/math][/ >> > format][/text] >> > >> > ----- Original Message ----- >> > From: Joseph Sullivan >> > To: WebCatalog Talk >> > Sent: Wednesday, October 24, 2001 2:53 PM >> > Subject: Re: Math Context >> > >> > >> > > Hello Again, >> > > >> > > Ok, that worked great, but I am stumped again. I need to make the >> > > answer to the equation a variable. IE [answer], so that I can use it >at >> > the >> > > bottom of the page. >> > > >> > > $[format >> > > >> > >> >10.2f][math]answer=(75.00/30)*({[125x60stopdate]}-{[125x60startdate]})[/math >> > > ][/format] >> > > >> > > Thanks Again... >> > > >> > > Joseph Sullivan >> > > Mooseweb Corp >> > > joe@mooseweb.com >> > > (406) 889-3410 >> > > >> > > To return good for good is Human; evil for evil is Beast-Like; but >good >> > for > > > > evil is Christ-Like.------------------------------------------------------------- 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://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: "+" in math context ( John Peacock 2004)
  2. Re: "+" in math context ( Donovan Brooke 2004)
  3. "+" in math context ( Donovan Brooke 2004)
  4. Re: Math Context (Joseph Sullivan 2001)
  5. Re: Math Context (Brian Fries 2001)
  6. Re: Math Context (Joseph Sullivan 2001)
  7. Re: Math Context (Alain Russell 2001)
  8. Re: Math Context (Joseph Sullivan 2001)
  9. Re: Math Context (Anup Setty 2001)
  10. Re: Math Context (Anup Setty 2001)
  11. Re: Math Context (Joseph Sullivan 2001)
  12. Re: Math Context (Dale Therio 2001)
  13. Re: Math Context (Anup Setty 2001)
  14. Math Context (Joseph Sullivan 2001)
  15. RE:math context ignores date prefs? (John Hill 1998)
  16. math context ignores date prefs? (Matthias Precht 1998)
  17. Re: Math Context (RH Prouty 1998)
  18. Re: There's a bug in the math context ... (Kenneth Grome 1997)
  19. Re: There's a bug in the math context ... (Grant Hulbert 1997)
  20. There's a bug in the math context ... (Kenneth Grome 1997)
By default, [text] does not display it's results. There are two ways to deal with this.1) Add show=T to your text context:[text show=T]price=...[/text]2) Display the variable after closing the text context:[text]price=...[/text] [price]Note: The [math] context has the same show parameter, but it defaults to T while [text] defaults to F if the show parameter is not specified.- brianAt 1:36 PM -0600 10/24/2001, Joseph Sullivan wrote: >[text]price=[format >10.2f][math]75.00/30)*({[125x60stopdate]}-{[125x60startdate]})[/math][/forma >t][/text] > >I put this in, then it stops outputting the price in my table, so I put this > >$[format >10.2f][math]75.00/30)*({[125x60stopdate]}-{[125x60startdate]})[/math][/forma >t] > >under it, then It hides the whole page except that one line. Any >Ideas/answers. Sorry to be a pest...Thanks!!! > > >Joseph Sullivan >Mooseweb Corp >joe@mooseweb.com >(406) 889-3410 > >To return good for good is Human; evil for evil is Beast-Like; but good for >evil is Christ-Like. >----- Original Message ----- >From: Anup Setty >To: WebCatalog Talk >Sent: Wednesday, October 24, 2001 12:52 PM >Subject: Re: Math Context > > >> There was a slight mistake in my posting... >> here is the correct one >> >> [text]answer=[format .thousands >> >2f][math]75.00/30)*({[125x60stopdate]}-{[125x60startdate]})[/math][/format][ >> /text] >> >> >> > [text]answer=[format .thousands >> > >> >2f][math]answer=(75.00/30)*({[125x60stopdate]}-{[125x60startdate]})[/math][/ >> > format][/text] >> > >> > ----- Original Message ----- >> > From: Joseph Sullivan >> > To: WebCatalog Talk >> > Sent: Wednesday, October 24, 2001 2:53 PM >> > Subject: Re: Math Context >> > >> > >> > > Hello Again, >> > > >> > > Ok, that worked great, but I am stumped again. I need to make the >> > > answer to the equation a variable. IE [answer], so that I can use it >at >> > the >> > > bottom of the page. >> > > >> > > $[format >> > > >> > >> >10.2f][math]answer=(75.00/30)*({[125x60stopdate]}-{[125x60startdate]})[/math >> > > ][/format] >> > > >> > > Thanks Again... >> > > >> > > Joseph Sullivan >> > > Mooseweb Corp >> > > joe@mooseweb.com >> > > (406) 889-3410 >> > > >> > > To return good for good is Human; evil for evil is Beast-Like; but >good >> > for > > > > evil is Christ-Like.------------------------------------------------------------- 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://search.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:

ShowNext (1997) Users.db permissions (2003) tricky embedded[showifs/hideifs] (w/ code.. long) (2000) Here's how to kill a Butler Database. (1997) Parse question (2005) Closing Databases (1998) Chatroom (2000) Help with Shipping Costs (1997) [WebDNA] Build Name for 6.1 (2008) Possible Bug in 2.0b15.acgi (1997) [WebDNA] Can't see were it's wrong.... (2017) Incompatibility with WebCat 3 templates ... (2000) Robert Minor duplicate mail (1997) Triggers (2004) WC2b15 File Corruption (1997) fieldType=num (1997) includes and cart numbers (1997) Setting a text Var inside an orderfile (2002) File not found error message (1998) showcart is slow (1998)