This is a migrated thread and some comments may be shown as answers.

Invariant decimal not parsed correctly

1 Answer 42 Views
NumericTextBox
This is a migrated thread and some comments may be shown as answers.
Marco
Top achievements
Rank 1
Marco asked on 28 Mar 2014, 10:51 AM
Hi,

I have the following NumericTextBox configured with the options:

$("#weight").kendoNumericTextBox({
culture: "nl-NL",
format: "n1"
});

When I set the weight to 80.8 (invariant) like this: $("#weight").data("kendoNumericTextBox").value("80.8"); , the NumericTextBox outputs 808,00, instead of 80,8.

Any ideas?

Kind Regards,

Marco





1 Answer, 1 is accepted

Sort by
0
Georgi Krustev
Telerik team
answered on 31 Mar 2014, 12:43 PM
Hello Marco,

I answered to your post in this forum thread. Do you mind to continue our discussion in only one thread to avoid any duplication. Thank you for the understanding.

Regards,
Georgi Krustev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
NumericTextBox
Asked by
Marco
Top achievements
Rank 1
Answers by
Georgi Krustev
Telerik team
Share this question
or