mirror of
https://github.com/storytold/gridcraft.git
synced 2026-11-15 14:52:26 +00:00
ACCRINTM returned #NUM! whenever issue >= settlement. Excel rejects only an issue date after settlement: when the two dates are equal after truncation to whole days (including distinct times on the same day) it returns 0 in every basis and both date systems. Relax the guard to issue > settle; zero rate, zero par and an invalid basis stay #NUM!.