changed trans amount to float and logic to reduce crop yield on transaction