Gossamer Forum
Home : Products : DBMan : Customization :

exponential calculations

Quote Reply
exponential calculations
I was wonder you can do exponential calculations in cgi scripting.

ie 2 to the power of 3 = 8
what is the notation to do this.

secondly can you use a field in your calcuation?

ie 2 to the power of $rec{'int'}

is it something like $temp = 2^$in{'int'} ?

Trev