RoundValues ( listOfValues ; precision )
Round List of Numbers
Average rating: 4.5 (31 votes) Log in to vote
Akram - - |
2.345
4.464;
1)
4.5
Function definition: (Copy & paste into FileMaker's Edit Custom Function window)
Function will round list of values to a specified precision. Acknowledgements to VR for simplifying function.
Comments
comment, VR Sep 8, 2010 |
||
Couldn't this be simpler? RoundValues ( listOfValues ; precision ) Let ( [ n = ValueCount ( listOfValues ) ] ; Round ( GetValue ( listOfValues ; 1 ) ; precision ) & Case ( n > 1 ; ¶ & RoundValues ( RightValues ( listOfValues ; n - 1 ) ; precision ) ) ) |
||
Akram, comment Sep 8, 2010 |
||
Thanks VR. I really appreciate that, I am new to custom functions and learning along the way. | ||
Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.