Native Python support for units?
Native Python support for units?
Posted Jul 19, 2022 20:54 UTC (Tue) by p6steve (guest, #159775)In reply to: Native Python support for units? by jrwren
Parent article: Native Python support for units?
Physics::Measure & Physics::Unit follow the SI conventions for 'K' and 'k' (plus many non-SI conversions)
#viz. https://en.wikipedia.org/wiki/International_System_of_Units
#viz. https://en.wikipedia.org/wiki/International_System_of_Units
say 29K.in('°C'); # -244.15°C
say 29km.in('miles'); # 18.019765mile
Sadly, Kibi (and other computing units are not yet implemented)
