From ab32ff27ca091ce2ec1cb6ea666de0ed6e6c1cbf Mon Sep 17 00:00:00 2001 From: puzhibing <393733352@qq.com> Date: 星期五, 08 三月 2024 14:51:42 +0800 Subject: [PATCH] 添加方法 --- cloud-server-management/src/main/java/com/dsh/guns/modular/system/util/BigDecimalToChineseAmountUtil.java | 5 ----- 1 files changed, 0 insertions(+), 5 deletions(-) diff --git a/cloud-server-management/src/main/java/com/dsh/guns/modular/system/util/BigDecimalToChineseAmountUtil.java b/cloud-server-management/src/main/java/com/dsh/guns/modular/system/util/BigDecimalToChineseAmountUtil.java index 1b267de..13479f6 100644 --- a/cloud-server-management/src/main/java/com/dsh/guns/modular/system/util/BigDecimalToChineseAmountUtil.java +++ b/cloud-server-management/src/main/java/com/dsh/guns/modular/system/util/BigDecimalToChineseAmountUtil.java @@ -72,9 +72,4 @@ return builder.toString(); } - public static void main(String[] args) { - BigDecimal number = new BigDecimal("12345.67"); - String chineseAmount = convertToChineseAmount(number); - System.out.println(chineseAmount); // Output: 壹万贰仟叁佰肆拾伍元陆角柒分 - } } \ No newline at end of file -- Gitblit v1.7.1