141
Views
3
Comments
[Simple Currency Input] Entering a comma removes the 0s after comma
Question
currencyinput-jpg
Web icon
Forge asset by César Santos

Hi, 

a client has commented that if they add a comma in the value ie 250,000 it treats the comma as a decimal and removes the 0s so leaving £250.

I have set the following properties:

decimals: 0

decmial sep: " "

thousands sep: ","

currency symbol: "£"

currencylefttovalue: True

removemaskonfocus: True

I've tried making the input field both text and number

Am i missing anything?

Debra 




2016-04-22 00-29-45
Nuno Reis
 
MVP

It looks alright, but is it a good idea to have " " as decimal separator? I would use the . at least.

2018-05-15 13-02-33
Debra Bodham

Thanks for the quick response. I have tried that but it still does the same. It does the same in your sample app too as far as i can tell.

Debra

2016-04-22 00-29-45
Nuno Reis
 
MVP

I've tested the component and got the same result. Based on the number of downloads I find very strange that the problem wasn't reported before.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.