Added float conversion warning in lib/encoder
I have no clue what I have done.