Title: MapStruct - Using numberFormat
Open Graph Title: MapStruct - Using numberFormat
Description: MapStruct handles conversion of numbers to String in required format seamlessly. We can pass the required format as numberFormat during @Mapping annotation. For example, consider a case where an amount stored in numbers is to be shown in currency
Open Graph Description: MapStruct handles conversion of numbers to String in required format seamlessly. We can pass the required format as numberFormat during @Mapping annotation. For example, consider a case where an amount stored in numbers is to be shown in currency
Opengraph URL: https://www.tutorialspoint.com/mapstruct/mapstruct_using_numberformat.htm
Domain: www.tutorialspoint.com
| None | IE=edge |
| og:type | article |
| og:image | https://www.tutorialspoint.com/images/tp_logo_436.png |
Links:
Viewport: viewport-fit=cover, width=device-width, initial-scale=1.0, maximum-scale=3.0, user-scalable=yes