Re: Range compare...

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 36231
interpreted = N
texte = [num] being the value of your number (31 in your example)[showif [num]>0][showif [num]<30]Type to display for range 1 results[/showif][/showif] [showif [num]>29][showif [num]<60]Type to display for range 2 results[/showif][/showif][showif [num]>59][showif [num]<90]Type to display for range 3 results[/showif][/showif]You can add decimals to these figures if they apply. -- Robert Wade ====================== CABIN6 Design================================================ |[ //\ ||} || ||\| V| ================================================www.cabin6.com =============== robert@cabin6.com Jimmi Kristensen wrote:> How do i check if a number is in a certain range... > > Say i have a number of 31 and the ranges of: > > 1-29 > 30-59 > 60-89 > > how do i find out in which range the number is??? > > ---------------------- > Jimmi Kristensen > WebDNA Developer > Jimmi@Euroteam.com > +45 70206300 DK > Euroteam Intl. > http://Euroteam.com > ---------------------- > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > Web Archive of this list is at: http://search.smithmicro.com/------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Range compare... (Robert Wade 2000)
  2. Range compare... (Jimmi Kristensen 2000)
[num] being the value of your number (31 in your example)[showif [num]>0][showif [num]<30]Type to display for range 1 results[/showif][/showif] [showif [num]>29][showif [num]<60]Type to display for range 2 results[/showif][/showif][showif [num]>59][showif [num]<90]Type to display for range 3 results[/showif][/showif]You can add decimals to these figures if they apply. -- Robert Wade ====================== CABIN6 Design================================================ |[ //\ ||} || ||\| V| ================================================www.cabin6.com =============== robert@cabin6.com Jimmi Kristensen wrote:> How do i check if a number is in a certain range... > > Say i have a number of 31 and the ranges of: > > 1-29 > 30-59 > 60-89 > > how do i find out in which range the number is??? > > ---------------------- > Jimmi Kristensen > WebDNA Developer > Jimmi@Euroteam.com > +45 70206300 DK > Euroteam Intl. > http://Euroteam.com > ---------------------- > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > Web Archive of this list is at: http://search.smithmicro.com/------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Robert Wade

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:

Introduction/Tutorial/QuickStart (1997) Dup cart id on multi browsers running on the same machine-win2k (2001) Not reading code (1997) another problem (1997) Separate SSL Server (1997) Fwd: Problems with Webcatalog Plug-in (1997) Errata: WCS Newbie question (1997) 3 card formulas! (1999) serial number dishing (1997) Almost a there but..bye bye NetCloak (1997) Multiple Users.db Possible? (1997) Netscape (1997) Storebuilder/Webmerchant and Manual CC Processing (2001) triggers (2003) validatin on NT (1998) RAM issue (2006) Balancing randomness (2000) Multiple servers and Webcat (1998) Searching for the end (1998) SET (1998)