This Yup rule allows verifying whether a value is a valid decimal within a given whole and fraction portion. The method is fully documented and has high test coverage.
See the open issues for a list of proposed features (and known issues).
This project is licensed under the terms of the MIT license.