Truncate node issue

The truncate node takes in 8.000000 as a float and returns 7 ( int32 ).
Could this be because the display in the BP debug pop-up is rounded and the float number is actually being passed as 7.9999999?

Can you show more of the surrounding code?

the integer comes from a function input. and after the clamp is the truncate node. PS by replacing the truncate with a round it fixed the issue but I wanted to show the truncate node issue so people are aware of it