Math.pow vs. decimal exponents
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2018 02:44 AM
Hello,
We’ve been trying to implement a calculation using a decimal exponent into Math.pow
Each time the exponent is a decimal and not strictly an integer, we get 1 as a result.
Current result is the following
Math.pow(2,2) gives 4
Math.pow(2,3) gives 8
Math.pow(2,3.5) gives 1
Did someone encounter this behaviour ?
Thanks for your help
Stéphane
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2018 02:56 PM
This appears to be a bug. The issue has been sent to our development team.
Diane Miller
