DT 3.x adding extra "-" to negative numbers sent from JSON

DT 3.x adding extra "-" to negative numbers sent from JSON

GarounGaroun Posts: 2Questions: 1Answers: 0

3.0.2 Test Case
* Incorrectly shows the negative numbers and appends an extra "-", this is the case whether the incoming data is a true number or a string number

2.3.8 Test Case
* Properly shows the negative values as expected

As you can see from the examples, 3.x version introduced an issue with negative numbers when using the render.number helper. It's currently causing an extra minus sign to be tacked on to the display value.**

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 65,923Questions: 1Answers: 10,971 Site admin
    Answer ✓

    Hi,

    Many thanks for flagging this up. I actually committed a fix for this error a couple of days ago and the nightly build has the fix.

    Here is the test case with the nightly build.

    I'm going to tag and release 3.0.3 with this fix (and a few other things) early next week.

    Allan

  • GarounGaroun Posts: 2Questions: 1Answers: 0

    Great, I'll hold off on our 3.x migration until I see the 3.0.3 become available.

    Thanks for the extra information!

Sign In or Register to comment.