Brian Dunning's FileMaker Custom Functions

FractionReduce ( fraction )

Takes string representing fraction and reduces it to most simple form.

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

Brett Buchmiller   Brett Buchmiller
None
www.filemaker.com

Share on Facebook Share on Twitter

  Sample input:
FractionReduce( "4/8" ; "I" )

FractionReduce( "3 4/12" ; "I" )

FractionReduce( "3 4/12" ; "M" )
  Sample output:
"1/2"

"10/3"

"3 1/3"

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

Takes string representing a fraction and reduces it using GCF function. Will output string as either mixed number or improper fraction based on flag. Part of a library of fraction functions as mentioned in the comments of function.

 

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: