#NEWLINE# def round( self , d ) : #NEWLINE# #INDENT# " round decimal to nearest 'd' decimal digits " #NEWLINE# self . x = round ( self . x , d ) #NEWLINE# self . y = round ( self . y , d ) #NEWLINE# return