Localization Smart String decimal places

Hi!
I want to show a localized float number in my game, so I made a Localize String Event with a Local Varible called matCount.
In the localization Table the entry is now {matCount} and it displays the value correct.
With language en with “.” as decimal seperator and in de with “,” as decimal seperator.
But how can I specify that 2 decimal places are always displayed?

Without localization the matCount.ToString(“F2”) works fine, what would that look like with smart string?

Many Thanks!

You can still use F2 through the default formatter.

Do {matCount:F2}

1 Like

Thank you very much!

1 Like