#NEWLINE# @ jinja2 . contextfunction #NEWLINE# @ library . global_function #NEWLINE# def number( context , n ) : #NEWLINE# #INDENT# 'Return the localized representation of an integer or decimal.\n\n    For None, print nothing.\n\n    ' #NEWLINE# if ( n is None ) : #NEWLINE# #INDENT# return '' #NEWLINE# #UNINDENT# return format_decimal ( n , locale = _babel_locale ( _contextual_locale ( n ) ) )