thinkgem / jeesite

Java rapid development platform, based (Spring Boot, Spring MVC, Apache Shiro, MyBatis, Beetl, Bootstrap, AdminLTE), online code generation, including modules: Organization, role users, menu and button authorization, data permissions, system parameters, content management, workflow, etc. Loose coupling design is adopted; one key skin switch; account security Settings, password policies; Online scheduled task configuration; Support cluster, support SAAS; Support for multiple data sources
http://jeesite.com
Apache License 2.0
8k stars 5.66k forks source link

fix: StringUtils.toLong 方法在转换过程中精度丢失的问题。 #504

Closed zbw911 closed 1 year ago

zbw911 commented 4 years ago

StringUtils.toLong 方法在到long字符串进行转换,会造成精度丢失。 见单元测试 。