Code following strategy

Buy Condition 3 consecutive equal lows in Daily Timeframe.
Sell Condition 3 consecutive equal Highs in Daily Timeframe.

BUY SCRIPT:

LOW = REF(LOW,1) = REF(LOW,2)

SELL SCRIPT:

HIGH = REF(HIGH,1) = REF(HIGH,2)

Is there any function to round off the price. Ex 715.15 to 715
I want to compare the price.