Brian Dunning's FileMaker Custom Functions

QuarterRound ( NUM )

Rounds numbers to nearest quarter (0, .25, .5, .75)

  Average rating: 4.3 (31 votes) Log in to vote

Josh Morton   Josh Morton - Show more from this author
JEM CONSULTING

Share on Facebook Share on Twitter

  Sample input:
QuarterRound(1.1)
QuarterRound(1.1934)
QuarterRound(1.4)
QuarterRound(1.61345)
QuarterRound(1.6934)
QuarterRound(1.934)
  Sample output:
1
1.25
1.5
1.5
1.75
2

  Function definition: (Copy & paste into FileMaker's Edit Custom Function window)

Rounds numbers to quarters. (0, .25, .5, .75)

Good for working with inches or pricing

 

Comments

Log in to post comments.

 

Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.

Support this website.

This library has been a free commmunity resource for FileMaker users and developers for 20 years. It receives no funding and has no advertisements. If it has helped you out, I'd really appreciate it if you could contribute whatever you think it's worth: