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.

Under construction. Email me your wish list for improvements.