def fmtFloat(float_value, point=1):
 fmt = ('%' + ('0.%(b)df' % {'b': point}))
 return locale.format_string(fmt, float_value)

def fmtFloat ( float_value , point = 1 ) : fmt = ( '%' + ( '0.%(b)df' % { 'b' : point } ) ) return locale . format_string ( fmt , float_value )
return a string with decimal separator according to current locale .