From 65d2775e2a05e2958bd453cf231adb79cc64695b Mon Sep 17 00:00:00 2001 From: Inusaito Sayori Date: Fri, 18 Oct 2013 08:58:13 -0400 Subject: [PATCH] Address jonhboy's Request: Round land impact instead of chopping off the decimal --- indra/newview/llfloatertools.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indra/newview/llfloatertools.cpp b/indra/newview/llfloatertools.cpp index 99863e103..0cf47303f 100644 --- a/indra/newview/llfloatertools.cpp +++ b/indra/newview/llfloatertools.cpp @@ -527,7 +527,7 @@ void LLFloaterTools::refresh() { F32 link_cost = LLSelectMgr::getInstance()->getSelection()->getSelectedObjectCost(); LLStringUtil::format_map_t prim_equiv_args; - prim_equiv_args["SEL_WEIGHT"] = llformat("%.1d", (S32)link_cost); + prim_equiv_args["SEL_WEIGHT"] = llformat("%.0f", link_cost); selection_args["PE_STRING"] = getString("status_selectprimequiv", prim_equiv_args); } else