convert weight to float so it's easier to subtract