Hacker News new | past | comments | ask | show | jobs | submit login

An alternative is to use the prefix only, e.g. 500m (=0.5), 700n (=0.0000007), 5.1k (=5,100). This is easy enough though it can clash with non-standard multiples (MM suffix, M misspelled as m, B for billion, ...). The U is quite unnecessary.



Your first example is a clash, 500 meter.


I suppose you need some context. When I read "cpu": "500m" in Kubernetes, I know it's half a CPU, but you are right it's ambiguous stand-alone. Hmm.


We have 500‰ for 500 unitless milli. And there are more:

https://en.m.wikipedia.org/wiki/Parts-per_notation




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: