FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » JavaScript to PHP
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: JavaScript to PHP [message #185023 is a reply to message #185020] Mon, 24 February 2014 17:27 Go to previous messageGo to previous message
Thomas 'PointedEars'  is currently offline  Thomas 'PointedEars'
Messages: 701
Registered: October 2010
Karma:
Senior Member
Christoph Michael Becker wrote:

> Stan Weiss wrote:
>> Can someone help me out. What would I replace
>> Math.POW with?
>>
>> ans1 = c7 + c8 + c9 + c10 + c11
>> c12 = ( Math.pow(10.0, ans1))
>
> Just use the pow() function.[2] Since PHP 5.6 there's even an operator
> (**) available.[3]

The latest stable PHP version is 5.5.9. [1] PHP 5.6.0*alpha2* was released
on 2014-02-13. [2] It is not a good idea to speak of future software
versions as something that is carved in stone.

[1] <http://php.net/downloads>
[2] <http://php.net/>

> [2] <https://wiki.php.net/rfc/pow-operator>

You got your footnotes mixed.


PointedEars
--
Anyone who slaps a 'this page is best viewed with Browser X' label on
a Web page appears to be yearning for the bad old days, before the Web,
when you had very little chance of reading a document written on another
computer, another word processor, or another network. -- Tim Berners-Lee
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: PHP script to get name of file which houses the script?
Next Topic: Completely stumped
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Mon Nov 25 01:40:16 GMT 2024

Total time taken to generate the page: 0.04333 seconds