How do I use the function truncate?

后端 未结 0 1099
滥情空心
滥情空心 2020-12-22 07:00

I want to aproximate my result of an operation to the same amount of decimals of my input number.

inclined_plane_f = float(input(\'F \'))
inclined_plane_r = f         


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