# VERILOG2056: Implicit conversion from a floating point value to an integer value should be reviewed ## Summary ```{raw} html
| Reliability | Security | Maintainability | Code attribute | Effort to fix | Tags |
|---|---|---|---|---|---|
| HIGH | - | - | Intentionality | Logical | 10min | synthesis, vscode, simulation, linter |
A floating point value (real or shortreal) is implicitly converted to an integer.
This is not necessarily wrong but make sure that it is really what was supposed to be implemented. If so, add an explicit cast.
function automatic f(real r); int i = r; endfunction
function automatic f(real r); int i = int'(r); endfunction``` ## Parameters No parameters. ```{raw} html ```