how to limit number of significant figures for datetime in python code example Example: round to 3 significant figures python >>> round(1234, -3) 1000.0