Internationalization and localization tools


Locale-Sensitive Python Method

locale.atof(string)

Internationalization (I18n) Method Overview

The atof parses a string into a float using the current locale decimal and thousand separators.

Click here for more information.

I18n Issues

This is the locale-safe function to use for converting string to float. Make sure you have properly called setlocale.

Globalyzer will detect this method and report it as an I18n issue. If you have determined that the call is being handled correctly, you can use Globalyzer's Ignore Comment functionality to ensure that it isn't picked up in a subsequent scan.

Locale-Sensitive Python Methods

Lingoport internationalization and localization services and software