This is not how you're supposed to use the library. From the documentation:
The defaut value of decimals is 18. To select a different value for decimals you should overload it.
How have you deployed this contract? Did you use Remix or Hardhat. See these guides:
PS: Please use triple backticks to surround your code in order to get proper formatting.
```
code here
```