Skip to content

Commit

Permalink
fix(Tier7): fix number formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
beheh committed Feb 9, 2024
1 parent 6c37c61 commit 2d18abe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@

<!-- Pick Rate -->
<TextBlock Grid.Column="2" Grid.Row="0" Text="{lex:Loc BattlegroundsHeroPicking_Header_PickRate}" TextTrimming="CharacterEllipsis" />
<TextBlock Text="{Binding PickRate, StringFormat={}{0:#,#.0}%, TargetNullValue=&#8211;, FallbackValue=&#8211;}" Grid.Row="1" Grid.Column="2"
<TextBlock Text="{Binding PickRate, StringFormat={}{0:0.0}%, TargetNullValue=&#8211;, FallbackValue=&#8211;}" Grid.Row="1" Grid.Column="2"
Style="{StaticResource BoldTextStyle}"
/>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
</Border>
<TextBlock
Style="{StaticResource StatTextStyle}"
Text="{Binding PickRate, StringFormat={}{0:#,#.0}%, TargetNullValue=&#8211;, FallbackValue=&#8211;}"
Text="{Binding PickRate, StringFormat={}{0:0.0}%, TargetNullValue=&#8211;, FallbackValue=&#8211;}"
/>
</DockPanel>
</Border>
Expand Down

0 comments on commit 2d18abe

Please sign in to comment.