I was trying to align doubles using string.format and display them on a tooltip.
I used: string.Format("{0,15:N2}", number);
but the results come out as:
1234.56
00.00
It seems some of the numbers are narrower than the space. Does anyone know how to solve this problem?
Thanks!