mirror of
https://github.com/kwsch/pk3DS.git
synced 2026-10-01 21:36:43 -05:00
Fix height decimal truncation
With previous commits to fix EV info, this closes #32 Thanks @MightyBirdy !
This commit is contained in:
@@ -232,7 +232,7 @@ private void readInfo()
|
||||
|
||||
TB_BaseExp.Text = pkm.BaseEXP.ToString("000");
|
||||
|
||||
TB_Height.Text = (pkm.Height / 100).ToString("00.0");
|
||||
TB_Height.Text = (pkm.Height / 100).ToString("00.00");
|
||||
TB_Weight.Text = (pkm.Weight / 10).ToString("000.0");
|
||||
|
||||
for (int i = 0; i < CLB_TMHM.Items.Count; i++)
|
||||
|
||||
@@ -175,7 +175,7 @@ private void readInfo()
|
||||
|
||||
TB_BaseExp.Text = pkm.BaseEXP.ToString("000");
|
||||
|
||||
TB_Height.Text = (pkm.Height / 100).ToString("00.0");
|
||||
TB_Height.Text = (pkm.Height / 100).ToString("00.00");
|
||||
TB_Weight.Text = (pkm.Weight / 10).ToString("000.0");
|
||||
|
||||
for (int i = 0; i < CLB_TMHM.Items.Count; i++)
|
||||
|
||||
Reference in New Issue
Block a user