Tytoo 0 Posted June 29, 2015 Hello =) I'm in the process of adding the remaining HP of tanks on the player panels on my XVM configuration and i'm having trouble with the formating. I would like to format the HP like so: [1250] //In a case where the HP is 4 digit long [ 850] // In a case where the HP is 3 digit long Yet, i think i can make it work when the HP is 4 digit long with: {{hp%4d|N/A}} This give me a nicely aligned column. However, with 3 digit HP number, it's not working anymore All the column are disorganized. It's not good I found a way around it by padding "0". However, i would like a cleaner way of doing it. Thanks in advance for anyone trying to help me out. Also, i would appreciate if anyone have nice documentation about formatting for XVM. I'm unsure what language formatting system i should use. Quote Share this post Link to post Short link Share on other sites
jem1510 107 #280171 Posted June 30, 2015 @Tytoo, <font face='mono'>{{hp%4d|N/A}}</font> Quote Share this post Link to post Short link Share on other sites