stk:image.calculate-gcd(function)

Calculates the greatest common divisor of two integers. This function is normally not used directly.

xs:integerstk:image.calculate-gcd
  1. xs:integerx
  2. xs:integery

Examples

Input

<xsl:value-of select="stk:image.calculate-gcd(1600, 900)"/>

Result

100

Parameters

x
The first integer
Type
xs:integer
y
The second integer
Type
xs:integer