There is one more law of floatation.
The law of flotation states that the weight of the fluid displaced is equal to the weight of the floating object.
Thus,
Weight of floating object= weight of fluid displaced
Mass of floating object = mass of fluid displaced