Bug with toString function

5 posts, 0 answers
  1. Ron
    Ron avatar
    122 posts
    Member since:
    Sep 2011

    Posted 31 May Link to this post

    Hi,


    We just upgraded from Kendo UI Q1 2016 SP3 to Kendo UI Q2 2016 because of a bug with kendo.toString. We see it was partially fixed, but there is still a problem. 


    The result of 
    kendo.toString(-5678, "##,#")
    is 
    "-,5678"
    Instead of the expected "-5,678" 

    Since we are getting near to a release of our next app version it is important for us to know when do you expect to fix this bug (in earlier versions it all worked well).

    Thanks,

     

    Ron.

  2. Dimiter Topalov
    Admin
    Dimiter Topalov avatar
    349 posts

    Posted 03 Jun Link to this post

    Hi Ron,

    The described bug is fixed, and the working version is available in the internal build from May 23th 2016.

    Let us know if you need further assistance.

    Regards,
    Dimiter Topalov
    Telerik
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  3. Kendo UI is VS 2017 Ready
  4. Ron
    Ron avatar
    122 posts
    Member since:
    Sep 2011

    Posted 06 Jun in reply to Dimiter Topalov Link to this post

    Solved. Thanks. Much appreciated.
  5. Stephen
    Stephen avatar
    4 posts
    Member since:
    Jul 2013

    Posted 29 Nov in reply to Dimiter Topalov Link to this post

    Hi Dimiter,

    I'm using Kendo UI R3 2016 SP1 (but also tested with SP2) and I still encounter this problem. Below are a few examples.

    kendo.toString(4321.11, "$###,##0.00;-$###,##0.00") -> "$4,321.11"
    kendo.toString(-4321.11, "$###,##0.00;-$###,##0.00") -> "-$4321.11"
    kendo.toString(-43214.11, "$###,##0.00;-$###,##0.00") -> "-$43,214.11"

    Has the fix been reverted in more recent versions?

     

    -Stephen

  6. Dimiter Topalov
    Admin
    Dimiter Topalov avatar
    349 posts

    Posted 4 days and 3 hours ago Link to this post

    Hello Stephen,

    The issue, initially discussed in the thread is fixed, but the one, described by you, is a different bug that has been logged, and you can track the corresponding issue in our GitHub repository:

    https://github.com/telerik/kendo-ui-core/issues/2262

    It's priority has already been escalated, and you can expect a fix in a future release of Kendo UI.

    Regards,
    Dimiter Topalov
    Telerik by Progress
    Kendo UI is ready for Visual Studio 2017 RC! Learn more.
Back to Top
Kendo UI is VS 2017 Ready