Clock precision setting

In reply to Mitu Raj:

Hello Midu Raj,
I assume you are taking $time for printing the clock time.
You can observe in Mr. Dave’s code that he is using $realtime for printing clock time purpose.
When you are using a clock with decimal points and $time for printing the clock value, the function will strip off the decimal part of clock value and round it as per the decimal value.
So do make sure that you are not using $time for display purpose.

So when ever a clock is involved, do use “$realtime” for display purpose. Follow this as a guideline.