Re: % (mod) was Re: looping table rows

This WebDNA talk-list message is from

1999


It keeps the original formatting.
numero = 23767
interpreted = N
texte = >>> True, but there is the '%' >>> [MATH]6%4[/MATH]=2 >> >> It's not in the docs. >> Would one of you folks who know how to use it please explain it? > >Oh, that's right, it's not in the docs.... I came across it by accident >(someone who knew knew some C language mentioned it). >Basically, its the remainder in a division problem. So: > >4%6=2 (4 divided by 6 equals 1 remainer 2) >100%10=0 >13%12=1 >19%20=19 > >That's the best I can explain it.That's a clear and excellent explanation, thank you!Sincerely, Ken Grome WebDNA Consultant Associated Messages, from the most recent to the oldest:

    
>>> True, but there is the '%' >>> [math]6%4[/MATH]=2 >> >> It's not in the docs. >> Would one of you folks who know how to use it please explain it? > >Oh, that's right, it's not in the docs.... I came across it by accident >(someone who knew knew some C language mentioned it). >Basically, its the remainder in a division problem. So: > >4%6=2 (4 divided by 6 equals 1 remainer 2) >100%10=0 >13%12=1 >19%20=19 > >That's the best I can explain it.That's a clear and excellent explanation, thank you!Sincerely, Ken Grome WebDNA Consultant Kenneth Grome

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:

How true is this? (1999) Help! I've fallen in Structured Query Language and can'tget (2002) Signal Raised (1997) Attention SM: Trigger Bug? (2000) Where's Cart Created ? (1997) (1997) Multihoming and webcat (1998) simple answer? [hideif] (1997) Security Hole (1998) HELP! 10K hits per hour for pages that no longer exist! (2000) can WC render sites out? (1997) Cannot get subtotal to work (1997) WebCatalog for guestbook ? (1997) Concatenating Form Variables (1998) Country & Ship-to address & other fields ? (1997) Running 2 two WebCatalog.acgi's (1996) calculating tax rates, mail order solutions and version 2 (1997) Checkbox question (1997) (1997) can you take a look (2003)