Google

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