Home > other >  Python is round and the format keep two decimal places
Python is round and the format keep two decimal places

Time:11-17

Excuse me why use round here to keep two decimal places is a? Thank you very much!

CodePudding user response:

You even have any misunderstanding on round,
Do you have in this area is 6.0, the round starts, n a digits behind the nearest, if there are more digits, interception, less is motionless, round (6.0, 2) itself is only one, nature does not move,
The format is serious formatting, regulations are how many, how many is not completion

CodePudding user response:

reference 1st floor without a white reply:
do you have any misunderstanding, even to the round
Do you have in this area is 6.0, the round starts, n a digits behind the nearest, if there are more digits, interception, less is motionless, round (6.0, 2) itself is only one, nature does not move,
The format is serious formatting, how many will be how many, not enough to fill all

Understand!! Thank you very much!!
  • Related