08-16-2003, 04:16 AM
ORACLE:
I was looking at your functions. The one for rounding is really clever, neat, all on one line, with no if's, and's or but's.
Then you have two functions called FNmin. Shouldn't one of these be FNmax?
What exactly do they do? I'll guess that on a "min" it will return the value of the lesser parameter, no? If that's so, then why go through the trouble of using a function, why not just do an "if a < b..."? Am I missing something?
*****
I was looking at your functions. The one for rounding is really clever, neat, all on one line, with no if's, and's or but's.
Then you have two functions called FNmin. Shouldn't one of these be FNmax?
What exactly do they do? I'll guess that on a "min" it will return the value of the lesser parameter, no? If that's so, then why go through the trouble of using a function, why not just do an "if a < b..."? Am I missing something?
*****