I have a string str(owner.Vr_real).replace('.',',')
that receives values of type:
- 2045.5
- 3040,45
- 4042,05
Notice that the first number does not complete with 0 (ex: 2045,50). What function could I use to add 0 to the end? I tried to use zfill
, but to no avail.