Consider the following example:
create or replace function f(n integer) return integer as begin return n; end; / begin dbms_output.put_line(f(3.8)); end; /