FIX: Copilot's suggestions

This commit is contained in:
Nicolás Hatcher
2025-11-16 19:36:25 +01:00
committed by Nicolás Hatcher Andrés
parent 5ff4774c5a
commit 1053d00d22
2 changed files with 2 additions and 2 deletions

View File

@@ -105,7 +105,7 @@ impl Model {
if !currencies.iter().any(|e| e == currency) {
currencies.push(currency);
}
// We try to parse as number
// Try to parse as a formatted number (e.g., dates, currencies, percentages)
if let Ok((v, _number_format)) = parse_formatted_number(&s, &currencies) {
return Ok(v);
}

View File

@@ -1168,7 +1168,7 @@ impl Model {
let multiple = self.evaluate_node_in_context(&args[1], cell);
// if both are empty => #N/A
// if either is empty => #N/A
if matches!(value, CalcResult::EmptyArg) || matches!(multiple, CalcResult::EmptyArg) {
return CalcResult::Error {
error: Error::NA,