in reply to Calculating the range between two numbers

Hi,

Use SQL to do such things, you have comparators on SQL. Do it like the other post from Anonimous posted, using a SQL statement with comparators <, >, =, !=, <=, >=.

Get out the power of SQL! If we where talking about a flat file or a DBM file, then you should do it with perl programming, f.e. you could do a grep on the data, but having this data query that offer you a RDB, is more powerfull and time saving doing it with the correct method.

Regards,
:)
  • Comment on Re: Calculating the range between two numbers