Skip to content

Commit e6cacd1

Browse files
authored
use percent for openCV sample (#436)
1 parent 9ba3398 commit e6cacd1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Samples/WinMLSamplesGallery/WinMLSamplesGallery/Samples/OpenCVInterop/OpenCVInterop.xaml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ private void RenderInferenceResults(IEnumerable<string> labels, IReadOnlyList<fl
285285
new Controls.Prediction {
286286
Index = zippedResult.First,
287287
Name = zippedResult.Second.First.Trim(new char[] { ',' }),
288-
Probability = zippedResult.Second.Second.ToString("E4")
288+
Probability = zippedResult.Second.Second.ToString("P")
289289
});
290290
InferenceResults.ItemsSource = results;
291291
InferenceResults.SelectedIndex = 0;

0 commit comments

Comments
 (0)