pub fn mul_wad_floor(x: Number, y: Wad) -> Number
Multiplies x by y/Wad::SCALE and floors: floor(x * y / 1e18). y is a WAD-scaled fraction (1e18 = 100%), and x is an unscaled amount.
y/Wad::SCALE