1 Commits

Author SHA1 Message Date
zhoudev
f75855fe1a Pre Merge pull request !403 from zhoudev/N/A 2025-04-27 03:56:37 +00:00

View File

@@ -390,7 +390,7 @@ public class ExcelUtil<T>
if (String.class == fieldType)
{
String s = Convert.toStr(val);
if (s.matches("^\\d+\\.0$"))
if (StringUtils.endsWith(s, ".0"))
{
val = StringUtils.substringBefore(s, ".0");
}