They are units if measure, in this case drams. Both are the same unit of measure, but they are using different calculations.
They are from 2 different programs, both programs convert one unit of measure into other units of measure. For example
milliliters
teaspoons
kilograms
The programs converts from one unit, into another unit, so you enter a number to convert, pick a unit
lets say kilogram then a unit to convert into lets say teaspoons and it would tell you how many teaspoons the unit in kilograms was.
I want to add new units to the original calculator that it doesn't have, but the other program does, I thought if I could work out the equation that the second calculator uses, I could add its units of measure into my own, so I posted the maths that's in the SAME unit of measure for both of them, if one can work out how to change the formula of the second one so its the same as the first, then I can use units of measure from from the second calculator by converting them add them to the original calculator.