rounding in logging ERRORed out

后端 未结 0 889
囚心锁ツ
囚心锁ツ 2021-02-14 05:00

Trying to round the numbers in logging

self.target_positions[\'free\'] = 32.52115
self.log.info(f"Current Position: {round(self.target_positions[\'free\'],2)         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题