by rbanffy · 16y ago · 0 comments
It should thrown an exception and abort the script with an ugly error traceback.
If the documentation says "float" and you can hand it a numerical string, then either the function or its documentation have a bug that needs correcting.
I would go as far as recommend using a USB shock device to issue a warning to the programmer every times a mistake like this is made. ;-)