There is no special method for setting a formula equal to a parameter. You create a parameter (field explorer->parameter->new), name it "cost" and then go to report->selection formula->record and enter:
{@yourformula} < {?cost}
As Bob suggested, if you can use a SQL expression instead of the formula, you will get faster results.
-LB