当前位置:网站首页>BigDecimal removes extra 0 at the end
BigDecimal removes extra 0 at the end
2022-06-10 14:38:00 【yechaoa】
- If your data is 9.90, To become 9.9
new BigDecimal(“9.90”).stripTrailingZeros();
- 9.00 change 9
new BigDecimal(“9.00”).stripTrailingZeros();
At this time, the calculation result will become 4E+1 Or other values
- therefore , The final formulation should be
new BigDecimal(“9.00”).stripTrailingZeros().toPlainString();
边栏推荐
- 【LogoDetection 数据集处理】(3)将训练集按照类别划分为多个文件夹
- [special introduction] round table forum -- the integration of AI and audio and video technology
- 2022年制冷与空调设备运行操作理论题库模拟考试平台操作
- 这个牛逼的低代码生成器,现在开源了!
- 【大咖秀】博睿数据眼中的AIOps,选择正确的赛道正确的人
- CG collision testing
- For the first time, the Pentagon admitted to funding 46 biological facilities in Ukraine. Russia once revealed that only three were safe
- 2022 practice questions and online simulation test for the third batch of Guangdong Provincial Safety Officer a certificate (principal)
- Ue5 how to convert screen coordinates to world coordinates and World Directions
- [Chongqing University] information sharing of preliminary and second examinations (with postgraduate entrance examination group)
猜你喜欢

2022年制冷与空调设备运行操作理论题库模拟考试平台操作

Design tools and skills for beginners to build their own blog

Simulated 100 questions and online simulated examination for safety production management personnel of hazardous chemical production units in 2022

Leetcode 2293. 极大极小游戏(可以.一次过)

几种方式可以实现 JMeter 参数化?

2022第十四届南京国际人工智能产品展会
![[big guy show] aiops in the eyes of Borui data, choosing the right track and the right people](/img/ea/740b877b5330a42065b5c5df0d9888.jpg)
[big guy show] aiops in the eyes of Borui data, choosing the right track and the right people
![[original] poi 5 X xssf and HSSF use custom font colors](/img/fc/0d983205784f3c3118bf4d2a73f842.png)
[original] poi 5 X xssf and HSSF use custom font colors

这个牛逼的低代码生成器,现在开源了!

Gin blog summary 1
随机推荐
ScrollView 初始化的时候不在最顶部?
LeetCode_ 20 (brackets match)
博主自白
【LogoDetection 数据集处理】(3)将训练集按照类别划分为多个文件夹
jdbc对数据库增删改查
Flutter listview, column, row learning personal summary 2
【报名】解决科技创业者核心关切,「星云计划公开课」线上招生开启
Docker deploys a redis cluster
[big guy show] aiops in the eyes of Borui data, choosing the right track and the right people
SIGIR 2022 | 港大、武大提出KGCL:基于知识图谱对比学习的推荐系统
KAtex problem - the style of equal sign alignment in CSDN editing
QT transfers the received JSON data (including Chinese) Unicode to utf8
2022年制冷与空调设备运行操作理论题库模拟考试平台操作
【LogoDetection 数据集处理】(2)画出训练集图片的标注框
什么是CAS 以及 CAS 中的 ABA 问题
Microsoft Word tutorial, how to change margins and create a newsletter column in word?
one
QT将接收到的json数据(含中文)unicode转utf8
C multithreading learning note 1
[discrete mathematics review series] II. First order logic (predicate logic)