Decimal input round up or round down in fixture
Closed this issue · 3 comments
MaryamRazavi commented
I have a decimal input for serum dig level which will be round up or down in fixture. If the digit is less than 5, round the previous digit down; if it's 5 or greater, round the previous digit up.
Guideline:https://www.mdcalc.com/digifab-digibind-dosing-digoxin-poisoning#evidence
@rashmidamu
rashmidamu commented
@MaryamRazavi, it is probably a bug in the gdl2 editor. It executes as expected in the gdl2 engine. So, it should work when you use the fixture generator to create the test fixture for this guideline.
MaryamRazavi commented
@rashmidamu This issue is fixed in gdl 2 editor preview 4.
rashmidamu commented
Great!