The following documentation comment has been logged on the website:
Page: https://www.postgresql.org/docs/9.6/static/functions-math.htmlDescription:
The scale() function return type is actually integer, not numeric.