public boolean isEqual ( Object value , boolean autoscale ) { Num numA = this ; Num numB = null ; if ( value instanceof Num ) numB = ( Num ) value ; else numB = new Num ( value ) ; int minScale = numA . remainderSize ( ) ; int bScale = numB . remainderSize ( ) ; if ( bScale < minScale ) minScale = bScale ; return isEqual ( value , minScale ) ; }
Scale both value to scale of number which have minimum scale .