- ©«¤l
- 4901
- ¥DÃD
- 44
- ºëµØ
- 24
- ¿n¤À
- 4916
- ÂI¦W
- 254
- §@·~¨t²Î
- Windows 7
- ³nÅ骩¥»
- Office 20xx
- ¾\ŪÅv
- 150
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥x¥_
- µù¥U®É¶¡
- 2010-4-30
- ³Ì«áµn¿ý
- 2024-11-23
|
¦^´_ 3# louislcw
¦Û©w¸q¨ç¼Æ- Function MGCD(number As Double) As Double
- Dim i As Double
- For i = number - 1 To 2 Step -1
- If number Mod i = 0 And IsOnly(i) Then MGCD = i: Exit For
-
- Next
- End Function
- Function IsOnly(number As Double) As Double
- For i = 2 To number
- If number Mod i = 0 Then cnt = cnt + 1
- Next
- IsOnly = cnt = 1
- End Function
½Æ»s¥N½X
|
|