6 c#
这是一个例子
if 8.30 is there it should be 8 hours 30 minute
if 8 hour 20 minutes then 8.20
Please tell whether it is possible ? if yes
how ?
Run Code Online (Sandbox Code Playgroud)
Eri*_* J. 11
当人们谈论小时时,他们通常意味着0.1 = 6分钟.
因此,转换8.3的正确公式将是:
8小时+ 3*6分钟= 8:18
要将8:20转换为十进制,它将是:
8 + 20/6 = 8.333333(可能是8.3)
| 归档时间: |
|
| 查看次数: |
30636 次 |
| 最近记录: |