大数除法的VB实现方法我实现大数除以小数的余数问题,用VB实现如果数很大超出整形变量的存储范围呢?

甲甲甲甲 1年前 已收到1个回答 举报

妖怪麒麟 幼苗

共回答了12个问题采纳率:100% 举报

Private Declare Function icePub_bigIntegerCalculate Lib "icePubDll.dll" (ByVal strArithmetic As String, ByVal strResult As String) As Integer
Dim strResult As String
Dim a2 As Integer
strResult = Space(1024)
a2=icePub_bigIntegerCalculate("12131415+81716151413121",strResult)
MsgBox strResult
strResult = Space(1024)
a2=icePub_bigIntegerCalculate("121314151617171910121314151617171910-817161154321",strResult)
MsgBox strResult
strResult = Space(1024)
a2=icePub_bigIntegerCalculate("12131415161718*81716151413121",strResult)
MsgBox strResult
strResult = Space(1024)
a2=icePub_bigIntegerCalculate("1213141516171719/11212313",strResult)
MsgBox strResult

1年前

3
可能相似的问题
Copyright © 2024 YULUCN.COM - 雨露学习互助 - 16 q. 0.015 s. - webmaster@yulucn.com