I get miscellaneous decimal values from the API. They may look like this 123.45, 0.12345678.
The format rule which I cannot change is like this: 1. if value <0, then have 8 decimal places 2. if value >0, then have 2 decimal places
Now, I cannot align the number based on the decimal dot. No matter if I align center, left or right. I always get something like this (aligned right)
123.45
0.12345678
1.23
1234.12345678
Ideally, I need alignment like this
123.45
0.12345678
1.23
1234.12345678
Is there a solution to this problem?