Condition to check that two numbers are in silver ratio
if ( ratio1 == ratio2 && ( ratio1 - 2.414 ) == 0 ) { document . write ( " " ) ; return true ; } else { document . write ( " " ) ; return false ; } }