Oracle Message PLS-00573 - cannot constrain scale, precision, or range of an anchored type declaration

ERRORcannot constrain scale, precision, or range of an anchored type declaration
CAUSEA variable declared with %TYPE or %ROWTYPE cannot have a scale, precision, or range constraint. Example: x y%TYPE(10) is not acceptable. It is legal to add NOT NULL or non-conflicting CHARACTER SET constraints to anchored type declarations.
ACTIONRemove the constraint or use a type name instead of an anchored type.