diff --git a/base/src/functions/financial.rs b/base/src/functions/financial.rs index 766eb7d..0c84076 100644 --- a/base/src/functions/financial.rs +++ b/base/src/functions/financial.rs @@ -436,7 +436,7 @@ impl Model { } if rate == -1.0 { return CalcResult::Error { - error: Error::NUM, + error: Error::DIV, origin: cell, message: "Rate must be != -1".to_string(), };