Main1.hx:4: characters 7-8 : Float should be Int Main1.hx:4: characters 7-8 : ... For optional function argument 'x'