To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.publishOpen lugnet.publish in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Publishing / 207
206  |  208
Subject: 
Re: Soliciting comments (and help) with online form
Newsgroups: 
lugnet.publish
Date: 
Mon, 14 Dec 1998 13:41:19 GMT
Viewed: 
623 times
  
On Mon, 14 Dec 1998 05:58:10 GMT, cjc@NOSPAMnewsguy.com (Mike Stanley)
wrote:


Ok, been playing with a javascript form today and I think it's fairly
nifty.  No super-duper backend database or anything, but it does
fulfill a couple of the requests I've had so far for making selecting
quantities and items easier.

Here's the address of the form:

http://www.guarded-inn.com/lego/auction/test3.htm

Now, one thing I have noticed, and I don't quite understand it, is
this situation.  When I select this item:

Black 1x1 Shallow Cooking Pans w/Handle

And a quantity of 3, 7, 17, and some other higher odd numbers, but not
all of them, the math it does is wrong.  3 x .35 becomes 1.04, 7 x
.35 becomes 2.44, etc.  Any ideas why that is?  Or does it work for
other people?

Any comments and suggestions would be most appreciated.  I'm going to
put it away for the night and play with Photoshop - need to pretty
things up a bit since I'm actually paying for this site. :)

3,7,17 are all prime numbers - maybe that helps.

lessee: 2,3,5,7,11,13,17,19....

Not any particular order in the way they're picked from that row, I
think. Do you run on P60 w/bug, by any chance?

Or it could just be binary/decimal conversion artifacts.

HTH.

Jasper



Message has 1 Reply:
  Re: Soliciting comments (and help) with online form
 
(...) Thanks for the comments. Todd seems to have solved the problem, although I'm honest enough to admit that the whole thing is beyond me. Oddly enough, when I went back and looked at the old broke version it did bad math on some even numbers as (...) (26 years ago, 14-Dec-98, to lugnet.publish)

Message is in Reply To:
  Soliciting comments (and help) with online form
 
Ok, been playing with a javascript form today and I think it's fairly nifty. No super-duper backend database or anything, but it does fulfill a couple of the requests I've had so far for making selecting quantities and items easier. Here's the (...) (26 years ago, 14-Dec-98, to lugnet.publish)

10 Messages in This Thread:




Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR