-
Key: DMN14-73
-
Status: closed
-
Source: Red Hat ( Matteo Mortari)
-
Summary:
This is taken from the DMN spec :
(amount *rate/12) / (1 – (1 + rate/12)**-term)
however this would fail to parse correctly as the first subtraction sign is an "en-dash" (0x2013) and not a minus/hyphen sign (0x2D)
(amount *rate/12) / (1 – (1 + rate/12)**-term) ^ (amount *rate/12) / (1 - (1 + rate/12)**-term)
this "en-dash" can be confused easily, especially depending on the font used, but as an end result cannot be copy-pasted from the PDF/Word of the DMN specification into an editor, and in essence is a wrong FEEL expression.
Proposal
with reference to DMNv1.3 dtc/19-12-06 in chapter Wrong example for 10.6.1 Context Figure 10.18: Example context page 177 replace:
(amount rate/12) / (1 – (1 + rate/12)*-term)
with
(amount rate/12) / (1 - (1 + rate/12)*-term)
(for the editor, please be aware MS Word might be tempted to replace the minus sign in "1 - ( 1 +" with an en-dash character, but this being FEEL code expression must be a minus sign)
-
Reported: DMN 1.2 — Tue, 7 Jan 2020 09:47 GMT
-
Disposition: Resolved — DMN 1.4
-
Disposition Summary:
Correct Context Figure 10.6.1
with reference to DMNv1.3 dtc/19-12-06 in chapter Wrong example for 10.6.1 Context Figure 10.18: Example context page 177 replace:
(amount * rate/12) / (1 – (1 + rate/12)**-term)
with
(amount * rate/12) / (1 - (1 + rate/12)**-term)
(for the editor, please be aware MS Word might be tempted to replace the minus sign in "1 - ( 1 +" with an en-dash character, but this being FEEL code expression must be a minus sign)
-
Updated: Thu, 31 Mar 2022 19:30 GMT
DMN14 — Wrong example for 10.6.1 Context Figure 10.18: Example context
- Key: DMN14-73
- OMG Task Force: Decision Model and Notation 1.4 RTF