bigdecimal precision
时间: 2023-09-11 08:13:12 浏览: 166
运用BigDecimal精确计算
BigDecimal类的precision()方法用于获取该BigDecimal对象的精度,即未缩放值中表示的位数。精度是指小数点后的位数,不包括前导零。这个方法返回一个整数值,表示BigDecimal对象的精度。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* *3* [Java BigDecimal precision()方法及示例](https://blog.csdn.net/cumt30111/article/details/107767467)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 100%"]
[ .reference_list ]
阅读全文