Re: cart converting to scientific notation format
This WebDNA talk-list message is from 2001
It keeps the original formatting.
numero = 37911
interpreted = N
texte = Peter Werno wrote:> > I had some cases where it did truncate a couple of digits when> converting to scientific notation.> > i.e.> 3312975437295328145 was transferred to> 3.31297543729533e 18 (just an example).> > So there could arise the problem that you will have 2 customers> receiving the same truncated number if only the last couple of digits> change (i.e. two users visiting the site with only very short delay).If you never try and do anything mathematical with the [cart] value (i.e. treat it as a read only text value), then you should never haveany problem.John--John PeacockDirector of Information Research and TechnologyRowman & Littlefield Publishing Group4720 Boston WayLanham, MD 20706301-459-3366 x.5010fax 301-429-5747-------------------------------------------------------------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:
Peter Werno wrote:> > I had some cases where it did truncate a couple of digits when> converting to scientific notation.> > i.e.> 3312975437295328145 was transferred to> 3.31297543729533e 18 (just an example).> > So there could arise the problem that you will have 2 customers> receiving the same truncated number if only the last couple of digits> change (i.e. two users visiting the site with only very short delay).If you never try and do anything mathematical with the [cart] value (i.e. treat it as a read only text value), then you should never haveany problem.John--John PeacockDirector of Information Research and TechnologyRowman & Littlefield Publishing Group4720 Boston WayLanham, MD 20706301-459-3366 x.5010fax 301-429-5747-------------------------------------------------------------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:
More on [purchase] (1998)
encrypt/decrypt actin' funny but I don't know why... (2000)
Weird Math (2000)
Orders w/in [sendmail] (1998)
Sorta OT: Printing From Browser Window (2001)
[showif] results returned... (2003)
WCS Newbie question (1997)
price on detail, but not shoppingcart (1997)
[LOOKUP] (1997)
WebCat2b13MacPlugIn - More limits on [include] (1997)
RE: Multiple Stores and WebCatalog Prefs (1997)
Possible to reset Linux file permissions w/in webcat [shell] ? (2000)
Date Formats (1997)
Apple event reply error (-1) (1997)
Never ending problem.... (2000)
Inventory Control (2000)
[WebDNA] How do I run a shell command as root? (2015)
[OT] Industry news from Australia (2000)
WebMerchant 1.6 and SHTML (1997)
Help! WebCat2 bug (1997)