#NEWLINE# def _divide_and_format( self , value ) : #NEWLINE# #INDENT# '\n        Divide a value and return formatted string\n        ' #NEWLINE# for ( i , unit ) in enumerate ( UNITS ) : #NEWLINE# #INDENT# if ( value > MULTIPLIER_TOP ) : #NEWLINE# #INDENT# value /= UNIT_MULTI #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# break #NEWLINE# #UNINDENT# #UNINDENT# return self . value_format . format ( value = value , unit = unit )