Edit this page

Minus Sign Shows to the Right of Negative Numbers When Using Right-to-Left (RTL) Languages

Environment

Product Progress Kendo UI for jQuery
Operating System All
Browser All
Preferred Language JavaScript

Description

I'm using right-to-left languages in my project and when working with negative numbers, the minus sign appears to the right of the digits instead of to their left.

Solution

Utilize and modify the number format pattern in the Kendo UI culture which is in use.

kendo.culture().numberFormat.pattern[0] = "n-";

For the full implementation of the approach, refer to this Dojo example.

See Also

Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy