.. is in seconds. But this is AutoIt and the time the editor say it was running is quite meaningless for fraction of seconds. Use a timer ( as @Musashi posted above ) if that measurement has importance. But I do agree that a scientific notation can mess with one's visual Feng Shui
Edit: This is my take at a timer thing:
OnAutoItExitRegister("_MyExitFunc")
Global $g___hStarttime = TimerInit()
Func _MyExitFunc()
ConsoleWrite(@CRLF & "- Time elapsed = " & TimeTimerDiff( TimerDiff($g___hStarttime) ) & @CRLF & @CRLF)
EndFunc ;==>_MyExitFunc
Func TimeTimerDiff($ms)
Local $day, $iHours, $iMins, $iSecs, $iTicks = $ms, $sMsOut = $ms
$iTicks = Int($iTicks / 1000)
$iHours = Int($iTicks / 3600)
$iTicks = Mod($iTicks, 3600)
$iMins = Int($iTicks / 60)
$iSecs = Mod($iTicks, 60)
If $iHours > 23 Then
$day = $iHours / 24
$iHours = Mod($iHours, 24)
EndIf
$ms = "0000" & $ms
Return $sMsOut & @TAB & StringReplace(StringFormat("%03i %02i:%02i:%02i", $day, $iHours, $iMins, $iSecs), "000 ", "") & '.' & StringReplace(StringTrimLeft($ms, StringInStr($ms, ".") - 4), ".", ",")
EndFunc ;==>TimeTimerDiff
;~ Sleep(1)
Exit
I find this clear and readable.