Pre Merge pull request !418 from 简单风/feature-bigdecimal

This commit is contained in:
简单风 2022-12-13 07:10:22 +00:00 committed by Gitee
commit ab9925b74d
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 1 additions and 1 deletions

View File

@ -713,7 +713,7 @@ public class Convert
} }
if (value instanceof Double) if (value instanceof Double)
{ {
return new BigDecimal((Double) value); return BigDecimal.valueOf((Double) value);
} }
if (value instanceof Integer) if (value instanceof Integer)
{ {