Why is this an issue?

A string formatting function is passed a real value for an integer format specifier, which will force the value to round to an integer.

Update the format specifier or add an explicit cast if the conversion is intended.

How to fix it

Code examples

Noncompliant code example

module fly;
  initial $display("%d", 3.14);
endmodule

Compliant solution

module fly;
  initial $display("%f", 3.14);
endmodule
module fly;
  initial $display("%d", int'(3.14));
endmodule