Shouldn't it be strfloat?
This is a guess that I'm making because I have no idea what you're trying to accomplish based on the snippet that you've provided. But judging by the fact that you used strval in the previous lines. Are you sure you wanted to use floatstr which changes a float to a string rather than strfloat?
This is a guess that I'm making because I have no idea what you're trying to accomplish based on the snippet that you've provided. But judging by the fact that you used strval in the previous lines. Are you sure you wanted to use floatstr which changes a float to a string rather than strfloat?