toPlainString()
时间: 2023-11-12 18:57:21 浏览: 91
toPlainString()是BigDecimal类的一个方法,用于将BigDecimal对象转换为普通的十进制表示形式的字符串。 这个方法返回的字符串是不带指数符号的,即以浮点数的形式显示。toPlainString()方法适用于需要将BigDecimal对象转换为方便处理和展示的普通十进制表示形式的情况。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [【Java】BigDecimal的toString()与toPlainString()](https://blog.csdn.net/weixin_43896318/article/details/104630775)[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: 50%"]
- *2* [harmonyos2-BigDecimal.as:一个现代的ActionScript3BigDecimal实现,专注于性能、正确性和清洁度](https://download.csdn.net/download/weixin_38744153/19960705)[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: 50%"]
[ .reference_list ]
阅读全文