converted weight to a float