I tried a lot of possibilities to specify only "2 digits" after the "." for this Double without success.
I don't know where to add , specifier: "%.2f".
// ContentView.swift
Text(String(format: NSLocalizedString("text [%lf]", comment: "Item"), item.value))
// Localizable.strings
"text [%lf]" = "Item [%lf]";
Do you have an idea where/how to add it? Thanks!
I'm so dumb! I just had to replace
[%lf]by[%.2f]directly in theNSLocalizedString.