Fix SVACE alert of possible buffer overflow in float2regex function