Saturday, 15 May 2010

math function in javascript exponentiation -


I have some calculations in JavaScript that contain exponentiation

Do any of you say this This sentence can return 1 1

  warning (0.03 + 1) ^ (271/365) -1;   

thanks

^ You have a Math.pow () :

  WARNING (math.pau ((0.03 + 1), (271/365)) - 1) Are in;    

No comments:

Post a Comment