Home > Back-end >  The results for help, why to calculate the circumference of the circle is not correct
The results for help, why to calculate the circumference of the circle is not correct

Time:10-08

As shown in figure, all other data, is my type 5 calculated result is more than a lot of last another 2 0, I use other data validation no problem

CodePudding user response:

Floating point number to print

CodePudding user response:

You see in floating point Numbers in the computer storage structure

CodePudding user response:

reference 1st floor qybao response:
floating-point printing problems

In python does not define, direct print (10 * 3.14) is the same as a result, the estimate is computer memory read a gap

CodePudding user response:

refer to the second floor weixin_40290083 response:
years you see in the computer storage structure of the floating point

Why the other data is not out of the question only five have this problem

CodePudding user response:

refer to the second floor weixin_40290083 response:
years you see in the computer storage structure of the floating point

Why the other data is not out of the question only five have this problem

CodePudding user response:

Accuracy problems, so money is done with bigdecimal
  • Related