- Feature Articles
- CodeSOD
- Error'd
- Forums
-
Other Articles
- Random Article
- Other Series
- Alex's Soapbox
- Announcements
- Best of…
- Best of Email
- Best of the Sidebar
- Bring Your Own Code
- Coded Smorgasbord
- Mandatory Fun Day
- Off Topic
- Representative Line
- News Roundup
- Editor's Soapbox
- Software on the Rocks
- Souvenir Potpourri
- Sponsor Post
- Tales from the Interview
- The Daily WTF: Live
- Virtudyne
Admin
Languages I've used that do not include a built-in currency or fixed-decimal data type:
Java C++ C Ratfor Fortran BASIC SNOBOL Pascal
Probably 99% of the others that I haven't used for a long time and don't remember.
Languages that do include a built-in fixed-decimal data type:
COBOL C#
Admin
His bicycle has built-in wireless Internet and he doesn't want hackers to access it while he's riding and launch a denial-of-service attack on his brakes just as he's heading down a steep hill.
Admin
Admin
Use something like BigDecimal in Java.
The problem isn't the formatting or display, its the internal representation. Storing it as a floating point will often result in errors, albeit small ones. But when they are used over and over again, that error accumulates until it becomes significant, and you've just cost your business a lot of money.
Admin
Admin
If I recall correctly, IBM started that trend.
I first discovered this years back, when I was needing to look up incorporation information on various vendors for some odd reason. IBM's incorporation was surprisingly recent - and I was really surprised to see it wasn't the "International Business Machines" that I'd originally looked up - that wasn't anywhere on active registrations...
Later on, talking with someone at IBM about it, apparently, they'd had the realization a while back that they'd actually achieved such incredible name recognition that they could get a trademark on just their initials. So they did. Then they ran with it.
Admin
I knew it!: Corn chips are made from people!
Captcha: gravis Seems fitting....
Admin
Admin
@IBM guy: You could always use full name, International Business Machines.