-
- Downloads
Implement rounding intermediate values using the new RoundingHelper class.
* Add the $Hooks$Rounding parameter to hold the RoundingHelper object (in the constructor, a named list of rounding specs can be given, which will be coverted to a RoundingHelper by the InsuranceTariff constructor). * Use the helper in most places where rounding intermediate values makes sense * Each use of the rounding helper is indicated by a separate ID, so each rounding occurrence can (and must) be configured separately * By default, no rounding occurs, unless a rounding accuracy (nr of digits) was explicitly configured for the ID * Add documentation
Showing
- DESCRIPTION 1 addition, 0 deletionsDESCRIPTION
- NAMESPACE 1 addition, 0 deletionsNAMESPACE
- NEWS.md 3 additions, 2 deletionsNEWS.md
- R/InsuranceParameters.R 14 additions, 10 deletionsR/InsuranceParameters.R
- R/InsuranceTarif.R 66 additions, 29 deletionsR/InsuranceTarif.R
- R/RoundingHelper.R 113 additions, 0 deletionsR/RoundingHelper.R
- man/InsuranceContract.ParameterDefaults.Rd 10 additions, 0 deletionsman/InsuranceContract.ParameterDefaults.Rd
- man/InsuranceContract.ParameterStructure.Rd 1 addition, 1 deletionman/InsuranceContract.ParameterStructure.Rd
- man/InsuranceTarif.Rd 33 additions, 1 deletionman/InsuranceTarif.Rd
- man/RoundingHelper.Rd 240 additions, 0 deletionsman/RoundingHelper.Rd
- tests/testthat/test-RoundingHelper.R 59 additions, 0 deletionstests/testthat/test-RoundingHelper.R
- vignettes/using-the-lifeinsurer-package.Rmd 83 additions, 0 deletionsvignettes/using-the-lifeinsurer-package.Rmd
Loading
Please register or sign in to comment