AnsweredAssumed Answered

Calulcate the GCD of two integers in filemaker pro?

Question asked by tdennis on Apr 27, 2018
Latest reply on Apr 29, 2018 by tdennis

Hi! Is there a way to calculate the GCD (greatest common denominator) of two integers in FileMaker Pro without the use of a custom function? (I don't have Filemaker Pro Advanced)

 

i.e.

The GCD of 1920 x 1080 = 120.

How can I use Filemaker Pro to get to this 120?

 

For Context:

Standard 55in LCD Monitor Resolution = 1920 x 1080.

The Aspect Ratio is 16:9

Which means that 1920/120 = 16 and 1080/120 = 9.

 

 

I'm trying to calculate the aspect ratio for other monitors that aren't the standard.

Outcomes