Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

To the power of

Status
Not open for further replies.

happysteph

Programmer
Apr 22, 2005
3
US
I know the syntax in sybase to get 2^8 is
power(2,8)
but this doesn't work for what i need. My query comes out to:
power(1.739, 15)
which gives a truncation error. But the result would be 4,022.478... so i don't understand why it would give an error. Does anyone know the rules on what numbers are ok to use with power??
power(2,15) works.
power(1.7,2) doesn't.
power(1.7,1.5) works. I don't get it!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top