String length to Position

I have an ammo counter as shown here:

but when i change the ammo to be 200:

I need a way to set the “origin” if you will, to be the last digit, and not the first, if you could help me that would be great.

You can use the Justification in the Appearance section of your textfield to make the test align right

35366-justificationtext.png