Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_web_howto thread: power


Message #1 by "Alex Shiell, ITS, EC, SE" <alex.shiell@s...> on Thu, 29 Nov 2001 12:14:29 -0000
OK, I'm going crazy here...



How do you do a number to the power of another number in vbscript?



e.g. Math.pow(2,n) in javascript



________________________________________________________________________

Scottish Enterprise Network

http://www.scottish-enterprise.com



Headquarters Address & Contact Numbers



150 Broomielaw

5 Atlantic Quay

Glasgow

G2 8LU.

Tel:  +44 (0) 141 248 2700.

Fax:  +44 (0)141 221 3217



 This message is sent in confidence for the addressee only.

It may contain legally privileged information. The contents are not to

be disclosed to anyone other than the addressee. Unauthorised recipients

are requested to preserve this confidentiality and to advise the sender

immediately of any error in transmission.





Message #2 by Joe Ingle <Joe@k...> on Thu, 29 Nov 2001 14:19:51 -0000
Hi Alex



I am pretty sure that to the power of is is ^ i.e. 6 to the power of 3  

6^3



Joe



-----Original Message-----

From: Alex Shiell, ITS, EC, SE [mailto:alex.shiell@s...]

Sent: Thursday, November 29, 2001 12:14

To: ASP Web HowTo

Subject: [asp_web_howto] power





OK, I'm going crazy here...



How do you do a number to the power of another number in vbscript?



e.g. Math.pow(2,n) in javascript



________________________________________________________________________

Scottish Enterprise Network

http://www.scottish-enterprise.com



Headquarters Address & Contact Numbers



150 Broomielaw

5 Atlantic Quay

Glasgow

G2 8LU.

Tel:  +44 (0) 141 248 2700.

Fax:  +44 (0)141 221 3217



 This message is sent in confidence for the addressee only.

It may contain legally privileged information. The contents are not to

be disclosed to anyone other than the addressee. Unauthorised recipients

are requested to preserve this confidentiality and to advise the sender

immediately of any error in transmission.










$subst('Email.Unsub')



Read the future with ebooks at B&N

http://service.bfast.com/bfast/click?bfmid=2181&sourceid=38934667&categoryid

=rn_ebooks

Message #3 by "Daniel O'Dorisio" <daniel@o...> on Thu, 29 Nov 2001 09:13:14 -0500
yup and to get roots (other then sqrt) you do: 3^1/3 (for cube root of 3)



daniel



--

-----------------------------

Daniel O'Dorisio

daniel@o...

www.odorisio-networks.com

-----------------------------

"Joe Ingle" <Joe@k...> wrote in message

news:124453@a..._web_howto...

>

> Hi Alex

>

> I am pretty sure that to the power of is is ^ i.e. 6 to the power of 3  

> 6^3

>

> Joe

>

> -----Original Message-----

> From: Alex Shiell, ITS, EC, SE [mailto:alex.shiell@s...]

> Sent: Thursday, November 29, 2001 12:14

> To: ASP Web HowTo

> Subject: [asp_web_howto] power

>

>

> OK, I'm going crazy here...

>

> How do you do a number to the power of another number in vbscript?

>

> e.g. Math.pow(2,n) in javascript

>

> ________________________________________________________________________

> Scottish Enterprise Network

> http://www.scottish-enterprise.com

>

> Headquarters Address & Contact Numbers

>

> 150 Broomielaw

> 5 Atlantic Quay

> Glasgow

> G2 8LU.

> Tel:  +44 (0) 141 248 2700.

> Fax:  +44 (0)141 221 3217

>

>  This message is sent in confidence for the addressee only.

> It may contain legally privileged information. The contents are not to

> be disclosed to anyone other than the addressee. Unauthorised recipients

> are requested to preserve this confidentiality and to advise the sender

> immediately of any error in transmission.

>

>

>




> $subst('Email.Unsub')

>

> Read the future with ebooks at B&N

>

http://service.bfast.com/bfast/click?bfmid=2181&sourceid=38934667&categoryid

> =rn_ebooks

>

>





Message #4 by "Alex Shiell, ITS, EC, SE" <alex.shiell@s...> on Thu, 29 Nov 2001 15:03:34 -0000
Oh yeah, of course. I knew that!  Its been a few years since I used it

last...



-----Original Message-----

From: Daniel O'Dorisio [mailto:daniel@o...]

Sent: 29 November 2001 14:13

To: ASP Web HowTo

Subject: [asp_web_howto] Re: power





yup and to get roots (other then sqrt) you do: 3^1/3 (for cube root of 3)



daniel



--

-----------------------------

Daniel O'Dorisio

daniel@o...

www.odorisio-networks.com

-----------------------------

"Joe Ingle" <Joe@k...> wrote in message

news:124453@a..._web_howto...

>

> Hi Alex

>

> I am pretty sure that to the power of is is ^ i.e. 6 to the power of 3  

> 6^3

>

> Joe

>

> -----Original Message-----

> From: Alex Shiell, ITS, EC, SE [mailto:alex.shiell@s...]

> Sent: Thursday, November 29, 2001 12:14

> To: ASP Web HowTo

> Subject: [asp_web_howto] power

>

>

> OK, I'm going crazy here...

>

> How do you do a number to the power of another number in vbscript?

>

> e.g. Math.pow(2,n) in javascript

>

> ________________________________________________________________________

> Scottish Enterprise Network

> http://www.scottish-enterprise.com

>

> Headquarters Address & Contact Numbers

>

> 150 Broomielaw

> 5 Atlantic Quay

> Glasgow

> G2 8LU.

> Tel:  +44 (0) 141 248 2700.

> Fax:  +44 (0)141 221 3217

>

>  This message is sent in confidence for the addressee only.

> It may contain legally privileged information. The contents are not to

> be disclosed to anyone other than the addressee. Unauthorised recipients

> are requested to preserve this confidentiality and to advise the sender

> immediately of any error in transmission.

>

>

>




> $subst('Email.Unsub')

>

> Read the future with ebooks at B&N

>

http://service.bfast.com/bfast/click?bfmid=2181&sourceid=38934667&categoryid

> =rn_ebooks

>

>










$subst('Email.Unsub')



Read the future with ebooks at B&N

http://service.bfast.com/bfast/click?bfmid=2181&sourceid=38934667&categoryid

=rn_ebooks



________________________________________________________________________

Scottish Enterprise Network

http://www.scottish-enterprise.com



Headquarters Address & Contact Numbers



150 Broomielaw

5 Atlantic Quay

Glasgow

G2 8LU.

Tel:  +44 (0) 141 248 2700.

Fax:  +44 (0)141 221 3217



 This message is sent in confidence for the addressee only.

It may contain legally privileged information. The contents are not to

be disclosed to anyone other than the addressee. Unauthorised recipients

are requested to preserve this confidentiality and to advise the sender

immediately of any error in transmission.






  Return to Index