Re: Math Context

This WebDNA talk-list message is from

2001


It keeps the original formatting.
numero = 39609
interpreted = N
texte = got it, works great. Thanks Everyone!!! Joseph Sullivan Mooseweb Corp joe@mooseweb.com (406) 889-3410To return good for good is Human; evil for evil is Beast-Like; but good for evil is Christ-Like. ----- Original Message ----- From: Brian Fries To: WebCatalog Talk Sent: Wednesday, October 24, 2001 1:48 PM Subject: Re: Math Context > 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. > > - brian > > At 1:36 PM -0600 10/24/2001, Joseph Sullivan wrote: > >[text]price=[format > >10.2f][math]75.00/30)*({[125x60stopdate]}-{[125x60startdate]})[/math][/form a > >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][/form a > >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]})[/mat h > >> > > ][/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/ >------------------------------------------------------------- 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:

    
got it, works great. Thanks Everyone!!! Joseph Sullivan Mooseweb Corp joe@mooseweb.com (406) 889-3410To return good for good is Human; evil for evil is Beast-Like; but good for evil is Christ-Like. ----- Original Message ----- From: Brian Fries To: WebCatalog Talk Sent: Wednesday, October 24, 2001 1:48 PM Subject: Re: Math Context > 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. > > - brian > > At 1:36 PM -0600 10/24/2001, Joseph Sullivan wrote: > >[text]price=[format > >10.2f][math]75.00/30)*({[125x60stopdate]}-{[125x60startdate]})[/math][/form a > >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][/form a > >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]})[/mat h > >> > > ][/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/ >------------------------------------------------------------- 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/ Joseph Sullivan

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:

Date search bug? (1998) WebDNA 6.0 backwards compatible? (2004) admin login problems - something else now (2000) Interfacing WebMerchant to www.fedex.com (1997) PR: WebCatalog Affiliates Program Announced -- Share the (2000) RE: Problems with shopping cart (1997) Variables for chat (1997) no global [username] or [password] displayed ... (1997) using showpage and showcart commands (1996) SiteGuard Admin Feature ? (1997) Template Encryption (1998) Searching Relational Databases (2004) problems with 2 tags (1997) ImageMagick and [shell] (2003) Cookies and webcat (1997) Multi-Row Tables from a search. (1997) problems with 2 tags (1997) WebDNA 4.5 rpm?!! (2003) any suggestions for creating a multi-lingual site? (1999) Kaaaaahhhhhhhnnnnnnn! (1997)