Number (Float) Formatting

Number (Float) Formatting

pradeepzpradeepz Posts: 4Questions: 2Answers: 1

Hello,
Floats are not being displayed in the way I want. Please help !

0.00 displayed as .00 (Should be displayed as 0 or 0.00)
1.17 displayed as 1.17 (No problem)
0.13 displayed as .13 (Should be displayed as 0.13)
-0.31 displayed as -.31 (Should be displayed as -0.31)

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 61,650Questions: 1Answers: 10,094 Site admin

    Can you show me how you are currently rendering the numbers? There isn't much information in your post to go on :).

    Allan

  • pradeepzpradeepz Posts: 4Questions: 2Answers: 1
    Answer ✓

    Sorry, my bad. The data was being send it that way. Corrected.
    Thanks for the response Allan.

This discussion has been closed.