declare r double precision; b double precision; c double precision;
begin
r:=9.2;
b:=2.3;
c:=r/b;
select log(2.7, c);
...
But I get an error for this code:
ERROR: function log(numeric, double precision) does not exist LINE 1: select log(2.7, c)
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
QUERY: select log(2.7, c) CONTEXT: PL/pgSQL function inline_code_block line 11 at SQL statement SQL state: 42883