new update:
I have managed to narrow down the issue: when using .formatted(.measurement(width: .narrow))) to stylize the temperature which is provided from WeatherKit, if the number is smaller than 10, it will somehow forced to shown with one digit behind decimal, like 9.3 or 7.2. If the number is greater than 10 it will just show you the rounded numbers. It has nothing to do with celsius or Fahrenheit nor with civilization I mentioned above. It is just that Fahrenheit usually have two digits and celsius in my region can easily down to below 10 in winter. so basically with mentioned format style you will see digits behind decimal, when temperature lies between -10 to 10 degrees
Thought that I have found the possible problem, but with my fresh swiftui knowledge i still can't solve it properly. Hope you guys would have more ideas.
Topic:
App & System Services
SubTopic:
General
Tags: