Hacker News new | ask | show | jobs
by kremi 702 days ago
Checks are quite foolproof too - spelling out the number (a hundred eighty eight) and writing the number (188), like on checks.

The paragraph you mention seems to worry more about mistakes more than tempering attempts though (taking 10x the dose prescribed could indeed be problematic)

2 comments

The important part there is the termination characters. "Dollars" / "Pounds only" etc. and the decimal point (though that's easier to turn into a comma and make into thousands... Funnily enough the German way of using comma as the decimal separator avoids this)
Yeah, we've tried null-terminated strings and it wasn't fun. Better use a more explicit, highly visible character.
Polish still regularly does this for contracts and all kinds of legal document.

I regularly see verbiage like "person A promises to pay person B 100 (in words, one hundred) zloty upon termination of this contract."