I am trying to create a weighted wage, using employment and wage. I tried the following command, but I got a "type mismatch error"

gen weight_for_increase=p10_binned * emp if min_wage_increase == 1

both p10_binned and emp are numeric variables. What would be the correct way to create this weight?