https://www.cnblogs.com/candyzkn/p/4476832.html
<TextBlock Text="{Binding jshjL,Converter={StaticResource StringToDecimalKey},StringFormat=¥\{0:F2\}}"
<!--<TextBlock Text="{Binding strokeNo,StringFormat=\{0\}为真!}" Style="{StaticResource TextTitleBigStyle}" FontWeight="Bold"/>-->
<StackPanel Grid.Column="0" Orientation="Horizontal" Margin="50,0,0,0">
<TextBlock Text="价税合计(大写):" Style="{StaticResource TextTitleSmallStyle}" Foreground="{StaticResource foreground_pattern_text_brown}" FontSize="10"/> <TextBlock Text="{Binding jshjS,StringFormat=ⓧ\{0\}}" Margin="10,0,0,0" Style="{StaticResource TextTitleSmallStyle}" FontSize="10"/> </StackPanel> <StackPanel Grid.Column="1" Orientation="Horizontal"> <TextBlock Text="(小写):" Style="{StaticResource TextTitleSmallStyle}" Foreground="{StaticResource foreground_pattern_text_brown}" FontSize="10"/> <TextBlock Text="{Binding jshjL,Converter={StaticResource StringToDecimalKey},StringFormat=¥\{0:F2\}}" Margin="10,0,0,0" Style="{StaticResource TextTitleSmallStyle}" FontSize="10"/> </StackPanel>