+ 1

How many digits after decimal we get in python

13th Jan 2017, 12:56 PM
prijesh
prijesh - avatar
3 Réponses
+ 2
There is no limit but you can set how many digits after decimal with round(number, how many digits). round(12.34567, 3) gives 12.346 round(12.34567, 4) gives 12.3457
13th Jan 2017, 4:44 PM
guest013
guest013 - avatar
+ 1
how many you want
13th Jan 2017, 4:04 PM
Fillipe Meireles
Fillipe Meireles - avatar
0
take as 1/3 then
14th Jan 2017, 4:51 AM
prijesh
prijesh - avatar