Notice
Recent Posts
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 |
Tags
- 면접
- springboot
- 자바스크립트
- 깃허브 간단요약
- 설치
- 폼태그
- EL태그
- 설정
- 이클립스
- 오라클
- SESSION
- jsp 내부객체
- 버튼
- jquery
- Spring
- jsp
- MySQL
- 셋업
- Oracle
- 스프링
- 알고리즘
- 깃허브
- 자바
- 마이바티스
- jstl
- 제이쿼리
- Eclipse
- 필터체인
- html
- java
Archives
- Today
- Total
728x90
목록통화 금액 (1)
은은하게 코드 뿌시기
통화 포맷 / java 원단위/krw
NumberFormat currencyFormat = NumberFormat.getCurrencyInstance(Locale.KOREA);for (Map product1 : catelist){ double price1 = product1.getDouble("salePrice"); String formattedAmount = currencyFormat.format(price1) .replaceAll(currencyFormat.getCurrency().getSymbol(), "");; product1.put("unitconversion", formattedAmount);}
자바/실무 유용한 것!
2024. 6. 17. 15:12
728x90