Re: looping table rows

This WebDNA talk-list message is from

1999


It keeps the original formatting.
numero = 23836
interpreted = N
texte = Dennis,Try using: [math]floor(yournumber)[/math] That will give you the quotient.JohnDennis J. Bonsall, Jr. wrote: > > > All % does is return the remainder of a division. > > > > ie. 5%2 = 1 > > This is perfect timing finding out about this. My current project has a > need to use the quotient and the remainder for two separate > calculations. Rather than using a [getchars] context to extract the > remainder this works great. But, is there any operator that will > extract only the quotient? > > Thanks, > > Dennis-- John S. Winningham Genesis Internet Solutions Online Commerce Designer eCommerce Solutions for Business john@genesis-internet.com Let us put the Web to Work for You 409-695-6568 Associated Messages, from the most recent to the oldest:

    
  1. Re: looping table rows (John Winningham 1999)
  2. Re: looping table rows (Dennis J. Bonsall, Jr. 1999)
  3. Re: % (mod) was Re: looping table rows (RH Prouty 1999)
  4. Re: % (mod) was Re: looping table rows (PCS Technical Support 1999)
  5. Re: looping table rows (charles kline 1999)
  6. Re: looping table rows (charles kline 1999)
  7. Re: % (mod) was Re: looping table rows (RH Prouty 1999)
  8. Re: % (mod) was Re: looping table rows (RH Prouty 1999)
  9. Re: % (mod) was Re: looping table rows (Kenneth Grome 1999)
  10. Re: looping table rows (Brian Willson 1999)
  11. Re: looping table rows (charles kline 1999)
  12. % (mod) was Re: looping table rows (Michael Winston 1999)
  13. Re: looping table rows (charles kline 1999)
  14. Re: looping table rows (PCS Technical Support 1999)
  15. Re: looping table rows (Kenneth Grome 1999)
  16. Re: looping table rows (Michael Winston 1999)
  17. Re: looping table rows (Kenneth Grome 1999)
  18. Re: looping table rows (charles kline 1999)
  19. Re: looping table rows (Kenneth Grome 1999)
  20. Re: looping table rows (Josh Tiger 1999)
  21. looping table rows (Phil Herring 1999)
Dennis,Try using: [math]floor(yournumber)[/math] That will give you the quotient.JohnDennis J. Bonsall, Jr. wrote: > > > All % does is return the remainder of a division. > > > > ie. 5%2 = 1 > > This is perfect timing finding out about this. My current project has a > need to use the quotient and the remainder for two separate > calculations. Rather than using a [getchars] context to extract the > remainder this works great. But, is there any operator that will > extract only the quotient? > > Thanks, > > Dennis-- John S. Winningham Genesis Internet Solutions Online Commerce Designer eCommerce Solutions for Business john@genesis-internet.com Let us put the Web to Work for You 409-695-6568 John Winningham

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:

Narrowing NT Crashing error (2000) Testing the WebCat Email List Members (2000) RePost: NAT and the CART (1999) Search/sort in URL Was: GuestBook example (1997) Summary search -- speed (1997) Updating a database once per day - An example (1998) Speed Admin? (Was FlushDatabases) (1997) Automatic Forwarding using WebCat (1997) flushdatabases (2000) Database Repopulation (2004) RequiredFields template (1997) Using Plug-In while running 1.6.1 (1997) all records returned. (1997) Error.html (1997) BinaryBody for ReturnRaw (2003) Calculating Shipping (1997) Thanks Will and Christer (was: need help with [sendmail] and[showif]s) (1998) WebCat2b13 Mac plugin - [sendmail] and checkboxes (1997) Not really WebCat (1997) Max Record length (1997)