Shopping Cart

Search:

Signup

Contact

FileMaker is a registered trademark of FileMaker, Inc. in the U.S. and other countries.

# FileMaker Pro Custom Functions

gcd( _a ; _b)

Rate this function:

Discuss this Custom Function

Alexander Baier, FM Tutorial
http://www.fm-tutorial.de

Greatest Common Divisor

Sample Input:
 gcd ( 12 , 8 )
Sample Output:
 4

Then copy & paste into FileMaker Advanced's Edit Custom Function window.

## Description:

In mathematics, the greatest common divisor (gcd), also known as the greatest common factor (gcf), or highest common factor (hcf), of two or more integers (at least one of which is not zero), is the largest positive integer that divides the numbers without a remainder.

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

This is my Custom Function and I want to edit it

## Discuss:

 Your Name: City/Location: Comment: characters left. If you paste in more than 1500 characters, it will be truncated. Discuss the function - advertisements and other useless posts will be deleted. Answer 4 + 7 =
 Search for Custom Functions:

 Download the Custom Function Dashboard Widget for OS X Keep all the latest Custom Functions right at your fingertips!

 1. HexUUIDToNum_cf (_uuid) (Sat, Jun 16, 1:55pm) 2. httpResponseCode ( responseHeaders ) (Tue, Jun 12, 10:40pm) 3. FindDuplicateCharacters ( string ) (Fri, Jun 08, 5:01pm) 4. FieldRepetitionLast ( field ; maxRepetition ) (Wed, Jun 06, 6:05pm) 5. CountModifiedRecords ( NameTimestampField ; StartTimestamp ; EndTimestamp ) (Mon, May 28, 8:23am) 6. JSONArrayLength ( JSONArrayStr ) (Fri, May 25, 7:46am) 7. interpolation (y1; y2; y3; x1; x2; x3; x1y1; x2y1; x1y2; x2y2; rnd) (Sat, May 19, 3:55am) 8. @JSONFormatElements ( json ) (Tue, May 15, 3:31am)