0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

BCD > binary coded decimal > it prevents many rounding errors

Last updated at Posted at 2016-08-22

@ Code Complete (No. 10077 / 36077)

here are comon specific solutions to rounding problems:
...

  • Change to binary coded decimal (BCD) variables. ... ,but it prevents many rounding erros.

大きい数字になるとそれに合わせ桁が増えるためrounding errorsにはならない、という理解をした。

関連 http://www.wdic.org/w/TECH/BCD

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?