beeminder / BeeSwift

Official Beeminder for iOS app
Other
30 stars 6 forks source link

Limit precise of some Apple Health metrics #438

Closed theospears closed 10 months ago

theospears commented 10 months ago

BeeSwift just reports apple health metrics at the same precision as they are provided by HealthKit. This can lead to a silly amount of precision, e.g. 6+ decimal points for steps. Here we introduce a mechanism to limit precision, and use it for a few experimental metrics.

Testing: Ran on device and checked metric values reported appropriately.

theospears commented 10 months ago

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @theospears and the rest of your teammates on Graphite Graphite