From 079ecd71b24f5bf9aac653f18f76d4670bcd169e Mon Sep 17 00:00:00 2001
From: client_Hale <339726288@qq.com>
Date: 星期五, 14 九月 2018 16:17:28 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts

---
 System/MainInterfacePanel/FeatureNoticeWin.cs |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/System/MainInterfacePanel/FeatureNoticeWin.cs b/System/MainInterfacePanel/FeatureNoticeWin.cs
index 7109173..68ae3d2 100644
--- a/System/MainInterfacePanel/FeatureNoticeWin.cs
+++ b/System/MainInterfacePanel/FeatureNoticeWin.cs
@@ -370,7 +370,8 @@
                         }
                         else
                         {
-                            string str = ((float)treasure.exp / treasure.treasureStages[funcStage].exp) * 100 + "%";
+                            double dou=Math.Round((double)treasure.exp / treasure.treasureStages[funcStage].exp,2);
+                            string str = dou * 100 + "%";
                             m_Textschedule.text = string.Format(Language.Get("YGYouFB"), str);
                         }                       
                     }

--
Gitblit v1.8.0