📅  最后修改于: 2022-03-11 14:49:02.681000             🧑  作者: Mango
//Pre 2021
DisplayUnitType displayUnitType = fp.DisplayUnitType;
value = UnitUtils.ConvertFromInternalUnits(nullable.Value, displayUnitType).ToString();
//2021
ForgeTypeId forgeTypeId = fp.GetUnitTypeId();
value = UnitUtils.ConvertFromInternalUnits(nullable.Value, forgeTypeId).ToString();