Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
remram
on July 2, 2021
|
parent
|
context
|
favorite
| on:
Uno – the “unit” for dimensionless quantities
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.
jonsen
on July 2, 2021
[–]
Your first example is a clash, 500 meter.
remram
on July 2, 2021
|
parent
[–]
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.
jonsen
on July 2, 2021
|
root
|
parent
[–]
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: