Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

That's not how you'd use it. It's a "dimension" for dimensionless numbers. You don't append measures of length with "length" or volume with "volume" but with the actual units of length or volume.

I developed code to do unit conversions and I do include a "dimension type" for dimensionless numbers, which is effectively a 1.



Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

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

Search: