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:

[redirect] not working on NT? (1999) Quickie question on the email templates (1997) WebCat2b13MacPlugin - [math][date][/math] problem (1997) WebCatalog seems to choke on large (2meg) html files. (1998) Banners (1997) problems with 2 tags (1997) [LOOKUP] (1997) syntax question, not in online refernce (1997) A little syntax help (1997) LOOKUP and Math operations (2001) [AppendFile] problem (WebCat2b13 Mac .acgi) (1997) WebDNA HitLogger available (was Signal Raised Error) (1997) Databases inside [SHOWIF] (1998) search with funny characters (2003) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) Forms to db's and back (2005) chat opinion ... (2002) Location of Webcat site in folder hierarchy (1997) [WebDNA] Secure Cookies (2020) pc (1997)