Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

How do I calculate GCD?

Featured Replies

  • Newbies

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.

  • 3 weeks later...

Let ( [

  $a = 1920 ;

  $b = 1080 ;

 

  $GCD = "Case(Mod($a;$b)=0;$b;Let([$c=$a;$a=$b;$b=Mod($c;$a)];Evaluate($GCD)))"

] ;

Evaluate ( $GCD )

)

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.