Internationalization and localization tools


Locale-Sensitive Python Method

to_sci_string(context=None)

Internationalization (I18n) Method Overview

The to_sci_string function returns the number as a string in scientific notation.

Click here for information.

I18n Issues

The to_sci_string function is not locale aware so will use . decimal separator. There is no localized equivalent so you may have write your own.

Please see Decimal class documentation for more information.

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