public void SetTransferAmount(FixedPoint2 amount) { amount = FixedPoint2.New(Math.Clamp(amount.Int(), MinimumTransferAmount.Int(), MaximumTransferAmount.Int())); TransferAmount = amount; }