ImageMan.Net Version 3 Summer 2012 Release
GCD Method
See Also  Send Feedback
DTI.ImageMan.Metadata.Exif Namespace > MathEx Class : GCD Method





a
b

Glossary Item Box

Returns the greatest common divisor of two numbers.

Syntax

Visual Basic (Declaration) 
Public Shared Function GCD( _
   ByVal a As System.UInteger, _
   ByVal b As System.UInteger _
) As System.UInteger
Visual Basic (Usage)Copy Code
Dim a As System.UInteger
Dim b As System.UInteger
Dim value As System.UInteger
 
value = MathEx.GCD(a, b)
C# 
public static System.uint GCD( 
   System.uint a,
   System.uint b
)
JScript 
public static function GCD( 
   a : System.uint,
   b : System.uint
) : System.uint;
Managed Extensions for C++ 
public: static System.uint GCD( 
   System.uint a,
   System.uint b
) 
C++/CLI 
public:
static System.uint GCD( 
   System.uint a,
   System.uint b
) 

Parameters

a
b

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© 2014 Data Techniques, Inc. All Rights Reserved.