Pre Merge pull request !418 from 简单风/feature-bigdecimal
This commit is contained in:
commit
ab9925b74d
|
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue