Aljosa Mohorovic schrieb:
thanks, i had an extra comma. i had no problem with decimal value,
replacing comma with dot was not a problem but what would you do if
you need to output decimal number with comma instead dot?
i'm asking because croatia (country in europe) has decimal comma, not
dot.
JavaScript numbers allow only the dot as the decimal seperator. Depending on your usage, you it may suffice to handle the number as a string, eg. just return "100,49".

Jörn

Reply via email to