From 6b43781c9126aa0391c5547ed1e98d30d4322d84 Mon Sep 17 00:00:00 2001 From: imi4u36d Date: Mon, 29 Jul 2024 14:10:36 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=94=99=E8=AF=AF=E7=9A=84?= =?UTF-8?q?=C2=A5=E5=AD=97=E7=AC=A6=E5=AF=BC=E8=87=B4=E7=9A=84Parser?= =?UTF-8?q?=E8=BD=AC=E6=8D=A2=E5=A4=B1=E8=B4=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/xcs/spring/ParserDemo.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-dataops/spring-dataops-parser/src/main/java/com/xcs/spring/ParserDemo.java b/spring-dataops/spring-dataops-parser/src/main/java/com/xcs/spring/ParserDemo.java index b5a669fd..8a343825 100644 --- a/spring-dataops/spring-dataops-parser/src/main/java/com/xcs/spring/ParserDemo.java +++ b/spring-dataops/spring-dataops-parser/src/main/java/com/xcs/spring/ParserDemo.java @@ -23,7 +23,7 @@ public static void main(String[] args) { // 改变区域设置为中国 LocaleContextHolder.setLocale(Locale.CHINA); // 将人民币格式的字符串转换为数值类型 - Number formattedAmountForCHINA = conversionService.convert("¥1,234.56", Number.class); + Number formattedAmountForCHINA = conversionService.convert("¥1,234.56", Number.class); System.out.println("Parsed Currency (CHINA): " + formattedAmountForCHINA); } }