little issue when displaying cells numbers

guillefaceguilleface Member, BASIC Posts: 1,014

so the problem is that column 13 to 24 are tracking some numbers, when the app start the values are at 0 so as you can see once i place this on a grid they wont align correctly, only if the values are 10 higher then it looks ok, i try to change the cell number to 00 but it goes back to 0, any idea how to solve this, thanks

Comments

  • ArmellineArmelline Member, PRO Posts: 5,331
    edited November 2021

    I guess you could try padInt(cell,2)


    padInt will add zeros to the start of a number until it's the number of digits long you tell it.


    Edit: Guessing this is tableMergeValues so my suggestion won't work. If you have a fixed and consistent numbers, you can just string together a bunch of tableCellValues, or if you aren't going to be doing much maths with the numbers, you could turn the column to text and padInt as you put things in it.

  • guillefaceguilleface Member, BASIC Posts: 1,014

    thanks for that suggestion, will give it a try.

Sign In or Register to comment.