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

It does have a decimal type.



No, that's just an alias for numeric type affinity which results in a binary floating point type if there's a decimal point.

There's also a long tradition of "faking" decimals with integers. I have always found that to be extremely tedious and error prone.




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

Search: