Hyperglycemia during admission is associated with increased rate of complications and longer hospital stays, thus insulin treatment is recommended for all diabetes patients with hyperglycemia. Inpatient studies of non-critically ill patients show better glycemic control with the use of basal-bolus insulin therapy compared to sliding scale insulin therapy, but increased rates of hypoglycemia. The investigators hypothesize that basal-bolus insulin therapy with a new ultra-long-action basal insulin can treat hyperglycemia more efficiently than sliding scale insulin, with few episodes of hypoglycemia.