Re: Setting Cart value
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 32564
interpreted = N
texte = Use [text]; that's why I cautioned you to only use [math] when it is anactual number. The cart value is an string of 10-14 characters whichhappen to numbers. You are seeing the cart as a exp notation numeric.John PeacockMark Derrick wrote:> > Thanks,> what's really strange (or maybe not that strange!) is that when using> [math show=f]cart=[GETCOOKIE cookiecart][/math], the value for [cart] becomes> 3.0427201834694e+14 > > How else can we set a value for cart without using [math]?> > Mark.> > On Thursday, June 1, 2000, John Peacock
wrote:> >Don't use [Math] for anything you are not going to perform math on, and> >not just for things that look like numbers. You will be sorry, maybe> >not right away, but at some time you will.> >> >That being said, what you have below should work (we are doing the same> >thing). This is our CartCookie.inc file (remove linebreaks> >when using):> >> >> >> >> >Mark Derrick wrote:> >>> >> Hi,> >> we're looking to be able to set the [cart] value by pulling> >it from a previously set cookie.> >> Tried using [math show=f]cart=[GETCOOKIE cookiecart][/math] but no luck, any pointers?> >>> >> Thanks.> >>> >> Mark.> >>> >> >-------------------------------------------------------------> >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/-------------------------------------------------------------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:
Use [text]; that's why I cautioned you to only use [math] when it is anactual number. The cart value is an string of 10-14 characters whichhappen to numbers. You are seeing the cart as a exp notation numeric.John PeacockMark Derrick wrote:> > Thanks,> what's really strange (or maybe not that strange!) is that when using> [math show=f]cart=[GETCOOKIE cookiecart][/math], the value for [cart] becomes> 3.0427201834694e+14 > > How else can we set a value for cart without using [math]?> > Mark.> > On Thursday, June 1, 2000, John Peacock wrote:> >Don't use [math] for anything you are not going to perform math on, and> >not just for things that look like numbers. You will be sorry, maybe> >not right away, but at some time you will.> >> >That being said, what you have below should work (we are doing the same> >thing). This is our CartCookie.inc file (remove linebreaks> >when using):> >> >> >> >> >Mark Derrick wrote:> >>> >> Hi,> >> we're looking to be able to set the [cart] value by pulling> >it from a previously set cookie.> >> Tried using [math show=f]cart=[GETCOOKIE cookiecart][/math] but no luck, any pointers?> >>> >> Thanks.> >>> >> Mark.> >>> >> >-------------------------------------------------------------> >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/-------------------------------------------------------------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/
John Peacock
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:
carriage returns in data (1997)
WebDNA-Talk Digests (1997)
[AppendFile] problem (WebCat2b13 Mac .acgi) (1997)
[protect admin] (1997)
Am I going senile? (Price recalc based on quantity) (1997)
[OT] photos and misc. (2004)
Field name-subcategory (1997)
WCS Newbie question (1997)
Parsing args without ? (2003)
Weird Math (2000)
emailer (1997)
Thanks Grant (1997)
[getchars] questions (1997)
View Source from cache (1997)
inconsistent webcat calculation? (1997)
RE: Emailer on NT! (1998)
Apache/MySQL Authentication (2006)
newcart (1997)
code below an [authenticate] gets evaluated? (2000)
PSC recommends what date format yr 2000??? (1997)