API:GetInventoryItemDurable

local durableValue, durableMax, itemName, durableValuef, durableMaxf = GetInventoryItemDurable(unit, invIndex)

durableValue and durableMax are the displayed values; durableValuef and durableMaxf are the actual values multiplied by 100; divide by that to get the true value

nb: All values are integers, except itemName.