Hello , how can i make decimal work with both separator comma (,) and dot(.)
espacially in percent field for exemple actually 10.05 work but 10,05 ignore and become 10.00
with dot
with comma
it become
Hello , how can i make decimal work with both separator comma (,) and dot(.)
espacially in percent field for exemple actually 10.05 work but 10,05 ignore and become 10.00
with dot
with comma
it become
any help please
Did you try System Settings ?
yes , but I want modify code to accept(allow) the both separator like i said for exemple field percent 10.25% or 10,25%
That’s not possible I think when you are entering the data in the form. But you can customize the print formats.
let x = "123,5"
y = x.replace( "," , "." )
could do it on keyUp in a client script (if you had to)
thanks but do you know where can i modify code in standard code source frappe because i want it for all field percent