scala precision

前端 未结 0 768
余生分开走
余生分开走 2021-01-05 00:08

Can someone help me with Double type and precisions? How I can trim the answer so that there are 4 digits after the comma.

def apply(uptime: Uptime): TimeResp         


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