Power ( x ; y )
Rate this function: Average rating: 2.7 (18 votes) Discuss this Custom Function
Peter Vinogradov, Peter Vinogradov Consulting
http://petervinogradov.com
Returns X to the power of Y
Sample Input:
|
Sample Output:
|
Description:
For those of us who, like me, forgot high school math, or who, like me, are totally not able to find an existing function to do this in FileMaker (probably because it can be done by combining existing functions)
I threw the rounding in there just because you don't always get an integer result when you supply integers as parameters (probably due to FM's finite definition of the constant "e")
EDIT: duh, this can be done with ^, as in 2^3 as pointed out in the comments below. Hopefully FMI will start giving awards for most pointless CFs...
Note: these functions are not guaranteed
or supported by BrianDunning.com. Please contact the individual
developer with any questions or problems.
This is my Custom Function and I want to
edit it
Discuss:Make a comment about this Custom Function (please try to keep it brief & to the point). Anyone can post:
|
Newest Custom Functions:
| 1. |
CountWordOccurrences ( text ; searchWord ) |
| |
(Tue, Feb 07, 11:15am) |
| 2. |
indonesian_date(date) |
| |
(Mon, Feb 06, 7:14pm) |
| 3. |
phpArrayValue ( array ; key ; pos ) |
| |
(Fri, Jan 27, 1:49pm) |
| 4. |
solfm_timeToMinutes (theTime;roundSec) |
| |
(Fri, Jan 20, 6:26am) |
| 5. |
filterLines(filterField;filterValue;Result) |
| |
(Sat, Jan 14, 2:20pm) |
| 6. |
getMaxValue ( theList ) |
| |
(Thu, Jan 12, 1:06pm) |
| 7. |
MiddleWordsIncPunct ( text ; startingWord ; numberOfWords ) |
| |
(Sat, Jan 07, 9:16am) |
| 8. |
WindowInfo |
| |
(Fri, Jan 06, 12:39pm) |
 |
|
Hi Peter,
what's about 2^3??
Greetings from Berlin
Holger Bolecke, Kleinmachnow
August 19, 2010 7:44am