Google

def Functions::round( nodes, number ) number = number.to_f if number.kind_of? String number.round end