Brian Dunning's FileMaker Custom Functions

Fraction ( _a_b ; _operator ; _c_d )

Enables common fraction operations, keeping results in fractions.

  Average rating: 4.4 (34 votes) Log in to vote

Thomas Seidler   Thomas Seidler
The Good Book Company
http://www.harmlesswise.com/it

Share on Facebook Share on Twitter

  Sample input:
Fraction ( "1/2"; "-" ; "3/4" )
Fraction ( "1/7"; "+" ; "3/9" )
Fraction ( "10/3" ; "/" ; "3/5" )
Fraction ("3/5" ; "*" ; "2/3" )
  Sample output:
"-1/4"
"10/21"
"50/9"
"2/5"

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

Uses custom function GCF (also on the list) to obtain the simplest possible fraction.

 

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.