Question

4
Replies
247
Views
Close popover
Chetan Bhoge (ChetanB4385)
Infosys

Infosys
IN
ChetanB4385 Member since 2018 4 posts
Infosys
Posted: November 12, 2018
Last activity: March 14, 2019
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 Experience
Moderation Team has archived post