From 2a064be75f584c5313f6c943f1c3cc6c1b0ffcba Mon Sep 17 00:00:00 2001 From: Chenx221 Date: Sun, 1 Oct 2023 20:06:05 +0800 Subject: [PATCH] update 1.0.0.3 --- ConsoleApp1/ConsoleApp1/ConsoleApp1.csproj | 4 ++-- ConsoleApp1/ConsoleApp1/Program.cs | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) 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)