gdl-lang/common-clinical-models

How rounded up to the next whole number in GDL editor 2.

Closed this issue · 1 comments

Guideline: DigiFab (Digibind) Dosing for Digoxin Poisoning (https://www.mdcalc.com/digifab-digibind-dosing-digoxin-poisoning#why-use)
Error 1: Need that end result to be round up to the next whole number. This is not possible with "Round" operation in GDL editor.

Error 2: When a decimal number is entered for the digoxin level, this number will be rounded. For example, the number 2,3 changes to the number 2.
Digi

I have got an answer for the first Error:
"ceiling" function in gdl2 or "floor function+1"