diff --git a/fhirpathpy/engine/invocations/math.py b/fhirpathpy/engine/invocations/math.py index 6e7bf24..aaf2d83 100644 --- a/fhirpathpy/engine/invocations/math.py +++ b/fhirpathpy/engine/invocations/math.py @@ -63,8 +63,6 @@ def mul(ctx, x, y): def div(ctx, x, y): if y == 0: return [] - # TODO: Discuss it with the team - # return rround(ctx, x/y, 8) return x / y diff --git a/tests/cases/fhir-r4.yaml b/tests/cases/fhir-r4.yaml index 21a415c..dfb04b4 100644 --- a/tests/cases/fhir-r4.yaml +++ b/tests/cases/fhir-r4.yaml @@ -3180,7 +3180,7 @@ tests: - true - desc: '** testDivide5' inputfile: patient-example.json - expression: 1.2 / 1.8 = 0.66666667 + expression: 1.2 / 1.8 = 0.6666666666666666666666666667 result: - true - desc: '** testDivide6'