Comment Comment by fleitz Good call, imagine you had a task like taking the input from the form for the employees wage.A good developer with no knowledge of IEEE754 might do something like this: float hourlyWage = hourlyWageTextbox.text.floatValue(); While a hacker with intricate knowledge of IEEE754 might insist that everyone do the following: string hourlyWage[] = hourlyWageTextbox.text.split('.') int hourlyWage = hourlyWage[0].to_int * 100 + hourlyWage[1].to_int It's essential to get rid of all these hackers who just slow down the dev process with extra unnecessary code. After all a quick unit test will show that there's no benefit from all the extra work of storing currency values as cents. parent fleitz 13 years ago
A good developer with no knowledge of IEEE754 might do something like this:
While a hacker with intricate knowledge of IEEE754 might insist that everyone do the following: It's essential to get rid of all these hackers who just slow down the dev process with extra unnecessary code. After all a quick unit test will show that there's no benefit from all the extra work of storing currency values as cents.