I need show this format: 12.123,33 € for use it in Spain.
Change period (dot) for thousands and comma for decimals.
In my code I have:
The value of the decimal column (MySQL database) is: 12123.33
I tried with this code:
a)
Result: 1.212.33.00 € ->wrong
b)
Result: $12,123.33 ->wrong
c)
Result: 1,2123.43 ->wrong
And the same problem on the grid : 12,123.43 <-wrong
If anybody have the solution of this problem, please write a possible solution.
Thanks
Julio
Change period (dot) for thousands and comma for decimals.
In my code I have:
<
script
type
=
"text/javascript"
src
=
"js/kendo.culture.es-ES.js"
></
script
>
The value of the decimal column (MySQL database) is: 12123.33
I tried with this code:
a)
$("#importe_oferta").kendoNumericTextBox({
culture: "es-ES"
format: "c2",
min: 0,
decimals: 2,
spinners: false
});
b)
$("#importe_oferta").kendoNumericTextBox({
format: "c2",
min: 0,
decimals: 2,
spinners: false
)};
c)
$("#importe_oferta").kendoNumericTextBox({
min: 0,
decimals: 2,
spinners: false
});
And the same problem on the grid : 12,123.43 <-wrong
If anybody have the solution of this problem, please write a possible solution.
Thanks
Julio