Merge PR #2000: Spanish formula aliases for financial functions (#1986)

This commit is contained in:
aiongg
2026-10-22 02:38:09 +00:00
2 changed files with 17 additions and 0 deletions
+12
View File
@@ -20,6 +20,18 @@ const SPANISH: &[(&str, &str)] = &[
("COUNTIF", "CONTAR.SI"),
("VLOOKUP", "BUSCARV"),
("TODAY", "HOY"),
// Financial block (#1986): the loan-schedule and investment staples.
("NPV", "VNA"),
("IRR", "TIR"),
("PMT", "PAGO"),
("PV", "VA"),
("FV", "VF"),
// Financial block (#1986): the loan-schedule and investment staples.
("NPV", "VNA"),
("IRR", "TIR"),
("PMT", "PAGO"),
("PV", "VA"),
("FV", "VF"),
("TRUE", "VERDADERO"),
("FALSE", "FALSO"),
];
+5
View File
@@ -15,6 +15,11 @@ fn spanish_aliases_and_argument_separators() {
("CONTAR.SI(A1:A10;\">0\")", "COUNTIF(A1:A10,\">0\")"),
("BUSCARV(A2;D:E;2;FALSO)", "VLOOKUP(A2,D:E,2,FALSE)"),
("HOY()", "TODAY()"),
("VNA(0,1;A1:A5)", "NPV(0.1,A1:A5)"),
("TIR(A1:A5;0,1)", "IRR(A1:A5,0.1)"),
("PAGO(0,08/12;10;10000)", "PMT(0.08/12,10,10000)"),
("VA(0,05;12;100)", "PV(0.05,12,100)"),
("VF(0,05;12;100)", "FV(0.05,12,100)"),
("=verdadero", "TRUE"),
("=falso", "FALSE"),
("VERDADERO()", "TRUE()"),