Creation should include
programming the CREATE FUNCTION command with only an IN parameter mode and the RETURN clause
programming the PL/SQL function/subprogram block
referring to examples of PL/SQL functions.