Post #2272228
2025-04-18 14:29 UTC
@troz@mastodon.social There is also the Physical package by @hyperjeff@mastodon.social for working with units in Swift. https://github.com/hyperjeff/Physical
Replies (2)
-
@hyperjeff@mastodon.social 2025-04-18 19:33
@wigging@fosstodon.org @troz@mastodon.social Measurement framework is great stuff for sure. Fwiw: import Physical let temp = 400.fahrenheit.sigfigs(3) print("\(temp) = \(temp → .celsius)") output: 400 °F = 204 °C
-
@hyperjeff@mastodon.social 2025-04-18 19:35
@wigging@fosstodon.org @troz@mastodon.social (giant update in progress behind the scenes)