Rounding time to nearest

In reply to ce_2015:

This a general problem with real numbers and equality. You should try to put your expression in terms of of a relational operator, or cast your expression to an int.

int’($realtime/1us) == 1