Question

4
Replies
238
Views
ChetanB4385 Member since 2018 4 posts
Infosys
Posted: 1 year ago
Last activity: 1 year 7 months ago
Closed

decimal seprator should change according to locale

hi,

I have requirement where I need to change the decimal value seprator with diferent locale e.g if I select 'EN' as a Locale then decimal value seperated by dot and when my locale changed to 'DE' it would be seperated by comma.

Currently In my application for EN and DE locale decimal is seperated by dot. this I want to change to comma automatically.This I want to achieve without use of ReplaceAll function.

How to achieve this?

For EN locale

Price

306.12 EUR

Weight

2.440 KG

Net Weight

2.440 KG

Expected for DE locale

Price

306,12 EUR

Weight

2,440 KG

Net Weight

2,440 KG

User Interface
Moderation Team has archived post
Share this page LinkedIn