Mar-27-2019, 11:12 AM
Probably you should round before displaying:
>>> x = 52137809 >>> '{0} rounded to tens of millions is {1}'.format(x, round(x, -7)) # format method '52137809 rounded to tens of millions is 50000000' >>> f'{x} rounded to tens of millions is {round(x, -7)}' # f-string '52137809 rounded to tens of millions is 50000000'
I'm not 'in'-sane. Indeed, I am so far 'out' of sane that you appear a tiny blip on the distant coast of sanity. Bucky Katt, Get Fuzzy
Da Bishop: There's a dead bishop on the landing. I don't know who keeps bringing them in here. ....but society is to blame.
Da Bishop: There's a dead bishop on the landing. I don't know who keeps bringing them in here. ....but society is to blame.