RoundBanker ( Number ; Precision )
Round numbers by "Banker's Rounding" (round half to even).
Be the first to rate this function Log in to vote
Koji Takeuchi - Show more from this author
TonicNote, Inc. https://tonicnote.com |
Function definition: (Copy & paste into FileMaker's Edit Custom Function window)
RoundBanker ( Number ; Precision )
2022-10-13, Koji Takeuchi
description:
Round numbers by "Banker's Rounding" (round half to even).
Example:
RoundBanker ( 54.34 ; 1 )
-> 54.3
RoundBanker ( 54.36 ; 1 )
-> 54.4
RoundBanker ( 54.35 ; 1 )
-> 54.4
RoundBanker ( 54.45 ; 1 )
-> 54.4
Comments
Michael Horak, *COMMENT Visual Realisation Nov 4, 2022 |
||
Compare: https://www.briandunning.com/cf/408 | ||
Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.