RE: select exp(column)
Posted in 1996
Topics: Stored Procedures & SPL
that would be the natural exponential function, where the natural exponent (e) is approximately equal to 2.71828182846... so, exp(2) = e^2 = 7.39. -joe- (huddles@hasting.com) ---------- From: informix-list-owner To: informix-list Subject: select exp(column) Date: Wednesday, March 06, 1996 10:31AM What? I was going to right an exponientiation SPL and just for grins did a select col * exp(other_col) from table. It worked! But its not an exponentiation function what is it? select exp(2) from systables where tabid = 1 yields 7.39 select 2 * exp(2) from systables where tabid = 1 yields 15 ?????? cheers j. _____________________________________________________________________________ Jack Parker - Hewlett Packard, DMD/IS Boise, Idaho, USA jparker@hpbs3645.boi.hp.com _____________________________________________________________________________ If anything can go wrong, fix it. To hell with Murphy. _____________________________________________________________________________ Any opinions expressed herein are my own and not those of my employers. _____________________________________________________________________________