Converting Float to String and String to Float using the IFormatProvider for Numbers.

Import System.Globalization Namespace and use InvariantCulture which is a special type of culture which is culture-insensitive.We should use this culture when you need culture-independent results, e.g. when you format or parse values in XML file.