#NEWLINE# def _precision( self , value ) : #NEWLINE# #INDENT# '\n        Return the precision of the number\n        ' #NEWLINE# value = str ( value ) #NEWLINE# decimal = value . rfind ( '.' ) #NEWLINE# if ( decimal == ( - 1 ) ) : #NEWLINE# #INDENT# return 0 #NEWLINE# #UNINDENT# return ( ( len ( value ) - decimal ) - 1 )