diff --git a/R/InsuranceContract.R b/R/InsuranceContract.R index 92e43a00f3a4a8188494fac41ded49c116b3cea9..4a938bd6b5473ea2008ae010e3b266d05ffd6494 100644 --- a/R/InsuranceContract.R +++ b/R/InsuranceContract.R @@ -479,7 +479,7 @@ InsuranceContract = R6Class( # Override with arguments explicitly given arguments = list(...) params[names(arguments)] = arguments[names(arguments)] - params$comment = sprintf("Dynamic increase at time %d to sum %d", t, NewSumInsured) + params$comment = sprintf("Dynamic increase at time %d to sum %02f", t, NewSumInsured) do.call(self$addBlock, params) },