Don&#x27;t be ridiculous. It&#x27;s perfectly fine if you know what you&#x27;re doing. For example, when you have a limited selection of floats (e.g. hashtable keys, or only numbers between 0 and 100, accurate to 1 decimal) - in these cases, strings would work just as well, but floats are more efficient (and compare correctly).