Skip to content
Snippets Groups Projects
Commit 44789050 authored by Daniel Reinert's avatar Daniel Reinert :grimacing:
Browse files

Revert "try to fix millisecond computation"

This reverts commit 24d30824.
parent 24d30824
No related branches found
No related tags found
No related merge requests found
......@@ -109,10 +109,6 @@ secofday_decode(double secondOfDay)
// time.ms = (int) lround((secondOfDay - fullSeconds) * 1000);
// time.ms = (short) lround((secondOfDay - fullSeconds) * 1000);
const int ms = (int) lround((secondOfDay - fullSeconds) * 1000);
time.ms = ms;
const int hour = fullSeconds / 3600;
const int minute = fullSeconds / 60 - hour * 60;
const int second = fullSeconds - hour * 3600 - minute * 60;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment