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 thequotient.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 You409-695-6568
Associated Messages, from the most recent to the oldest:
Dennis,Try using:
[math]floor(yournumber)[/math] That will give you thequotient.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 You409-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)