Search before asking
Version
2.1
What's Wrong?
conv() with float value as input parameter leads to incorrect result
What You Expected?
float value or other illegal values are banned from conv() function
How to Reproduce?
Just execute
create table test_tb(int_1 int, float_2 float);
insert into test_tb values(1, 1.464868);
select conv(float_2,10,2),float_2 from test_tb;

The result "0" is incorrect, it should be like "0 01111111 01110111000000011001011"

BTW, I suggest that the conv() prohibits floating-point numbers as input parameters
Anything Else?
No response
Are you willing to submit PR?
Code of Conduct