Fixed typo

This commit is contained in:
s1fr0 2022-02-05 00:10:36 +01:00
parent 08ca99b6f6
commit 060c4f8d64
1 changed files with 4 additions and 4 deletions

View File

@ -3,13 +3,13 @@
{.push raises: [Defect].}
proc getNanosecondTime*(t: float64): int64 =
var tns = t*100000000
var tns = int64(t*100000000)
return tns
proc getMicrosecondTime*(t: float64): int64 =
var tmus = t*1000000
return tns
var tmus = int64(t*1000000)
return tmus
proc getMillisecondTime*(t: float64): int64 =
var tms = t*1000
var tms = int64(t*1000)
return tms