Text formatting error: '=' alignment not allowed in string format specifier

前端 未结 6 1566
庸人自扰
庸人自扰 2020-12-30 19:24

What does \'=\' alignment mean in the following error message, and why does this code cause it?

>&         


        
6条回答
  •  盖世英雄少女心
    2020-12-30 20:00

    You are trying to insert 'string->"1" where a float->3.44 is required. Remove the quotes "1", i.e. num=1, and it will work

提交回复
热议问题