How can I dynamically decrease by 1 decimal point, regardless of the scale of the number

  math, python

Hi I’d like to have some code in Python where 4.16 can go to 4.15 and 416 can go to 415 and 41600 goes go 41599. How would I do this?

Source: Python Questions

LEAVE A COMMENT