Skip to content

Commit e92993c

Browse files
author
Sheil Kumar
committed
switch to percent
1 parent e8a2772 commit e92993c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Samples/WinMLSamplesGallery/WinMLSamplesGallery/Samples/ImageSharpInterop/ImageSharpInterop.xaml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ private void RenderInferenceResults(IEnumerable<string> labels, IReadOnlyList<fl
207207
new Controls.Prediction {
208208
Index = zippedResult.First,
209209
Name = zippedResult.Second.First.Trim(new char[] { ',' }),
210-
Probability = zippedResult.Second.Second.ToString("E4")
210+
Probability = zippedResult.Second.Second.ToString("P")
211211
});
212212
InferenceResults.ItemsSource = results;
213213
InferenceResults.SelectedIndex = 0;

0 commit comments

Comments
 (0)