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 SullivanMooseweb Corpjoe@mooseweb.com(406) 889-3410To return good for good is Human; evil for evil is Beast-Like; but good forevil is Christ-Like.----- Original Message -----From: Brian Fries
To: WebCatalog Talk Sent: Wednesday, October 24, 2001 1:48 PMSubject: 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][/forma> >t][/text]> >> >I put this in, then it stops outputting the price in my table, so I putthis> >> >$[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 goodfor> >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 makethe> >> > > answer to the equation a variable. IE [answer], so that I can useit> >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/>-------------------------------------------------------------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 SullivanMooseweb Corpjoe@mooseweb.com(406) 889-3410To return good for good is Human; evil for evil is Beast-Like; but good forevil is Christ-Like.----- Original Message -----From: Brian Fries To: WebCatalog Talk Sent: Wednesday, October 24, 2001 1:48 PMSubject: 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][/forma> >t][/text]> >> >I put this in, then it stops outputting the price in my table, so I putthis> >> >$[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 goodfor> >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 makethe> >> > > answer to the equation a variable. IE [answer], so that I can useit> >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/>-------------------------------------------------------------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:
Bug Report, maybe (1997)
Still Stumped on ShowNext...HELP! (1997)
hard carriage returns and sendmail (1998)
Running 2 two WebCatalog.acgi's (1996)
webcatalog [date] bug...not (1999)
[ShowNext] (1997)
Appending current [date] to a database (1997)
WebCommerce: Folder organization ? (1997)
sorted cart? (1998)
Multiple Pulldowns (1997)
Loss in Form (1998)
Problems with [Applescript] (1997)
[Announce] Newest Commerce Site based on WebCatalog (1997)
setheader and retrieve it immediatly (2001)
Problem with [Search] inside of [Loop]? (1997)
WebDNA and PostGres SQL (2005)
plugin-acgi, different results (1997)
Searching an Email database (1997)
Another bug to squash (WebCat2b13 Mac .acgi) (1997)
Putting together a econimic server (2004)