my solution

Try this: .measurement( numberFormatStyle: .number.precision(.fractionLength(0)) )

my solution
 
 
Q