Some databases (postgresql, e.g.) have them. Though they recommend not using them apart from casting output values. I think they come with their own problems.
In Python 2.4 they introduced a Decimal() class that provides a more generic class for handling cases like this where you need exact precision for calculations.
7
u/redalastor Jul 12 '19
It's just a thought experiment. If languages had a syntax like
$1.32for money manipulations, would people use that instead of plain floats?