FIX: Two small fixes to YEARFRAC
* Takes abs value in between two dates * Follows ODFv1.2 part 2 section 4.11.7.7
This commit is contained in:
committed by
Nicolás Hatcher Andrés
parent
ed40f79324
commit
18db1cf052
@@ -26,8 +26,8 @@ fn test_yearfrac_basis_2_actual_360() {
|
||||
panic!("Expected numeric value in A2");
|
||||
}
|
||||
|
||||
// Negative symmetric of A1
|
||||
assert_eq!(model._get_text("A3"), *"-1");
|
||||
// always positive A1
|
||||
assert_eq!(model._get_text("A3"), *"1");
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
||||
Reference in New Issue
Block a user