8-nál meg persze hogy helyes értéket ad. mert 8dec = 1000bin tehát dec1000*dec1000=dec1000000 és dec2bin(8*8) is = 1000000