Regarding Time precision

In reply to dave_59:

I had missed out on few key points in the LRM . Turns out the LRM does answer my questions .

For [2] %t is based on default $timeformat , which has the 1st argument ’ units_number ’ " as the smallest precision of all the `timescale directives in the source "

Hence %t is scaled to time_precision of 100ns .

Now I am confused about using $realtime without a format-specifier .

I have a new code :: EDA_$realtime

The $realtime within module tb2 returns values as per my expectations i.e

Real numbers are rounded to 3 decimal places due to time_precision of 1ps .

However why is it that $realtime returns integers 1 , 2 , 3 , 4 instead of real numbers for tb1 ?

As per LRM Section 20.3.3 example I was expecting real numbers as :: 1.1 , 2.223 , 3.335 and 4.447 respectively .