diff --git a/ConsoleApp1/ConsoleApp1/ConsoleApp1.csproj b/ConsoleApp1/ConsoleApp1/ConsoleApp1.csproj index d0f1e74..b9d6dae 100644 --- a/ConsoleApp1/ConsoleApp1/ConsoleApp1.csproj +++ b/ConsoleApp1/ConsoleApp1/ConsoleApp1.csproj @@ -31,8 +31,8 @@ 批量转换图像为PDF的小工具 ConsoleApp1 Copyright © Chenx221 2023 - 1.0.0.2 - 1.0.0.2 + 1.0.0.3 + 1.0.0.3 7.0 ConsoleApp1.Program AnyCPU diff --git a/ConsoleApp1/ConsoleApp1/Program.cs b/ConsoleApp1/ConsoleApp1/Program.cs index 0df1cd5..c186ca8 100644 --- a/ConsoleApp1/ConsoleApp1/Program.cs +++ b/ConsoleApp1/ConsoleApp1/Program.cs @@ -8,6 +8,7 @@ using System.Linq; using System.Collections.Generic; using System.Text.RegularExpressions; using System.Text; +using System.Numerics; namespace ConsoleApp1 { @@ -157,8 +158,8 @@ namespace ConsoleApp1 int matchCount = Math.Min(matchesX.Count, matchesY.Count); for (int i = 0; i < matchCount; i++) { - int numX = int.Parse(matchesX[i].Value); - int numY = int.Parse(matchesY[i].Value); + BigInteger numX = BigInteger.Parse(matchesX[i].Value); + BigInteger numY = BigInteger.Parse(matchesY[i].Value); int numComparison = numX.CompareTo(numY); if (numComparison != 0)