General function get area

admin 2016.06.08 15:18 Views : 223

create or replace function fun_get_area
 (n_length in number,
     n_width  in number)
return number is
   n_area number(5);
 begin
     n_area := n_length*n_width;

 RETURN n_area;
 end fun_get_area;