'Return a formatted string representation of a number.'

def format_data(self, value):

    if self._useLocale:
        s = locale.format_string(u'%1.10e', (value,))
    else:
        s = (u'%1.10e' % value)
    s = self._formatSciNotation(s)
    return self.fix_minus(s)
