diff --git a/src/apps/showimage/ShowImageStatusView.cpp b/src/apps/showimage/ShowImageStatusView.cpp index 71a10fb68d..327cb1fd17 100644 --- a/src/apps/showimage/ShowImageStatusView.cpp +++ b/src/apps/showimage/ShowImageStatusView.cpp @@ -14,6 +14,7 @@ #include #include #include +#include #include #include #include @@ -178,7 +179,13 @@ ShowImageStatusView::_SetFrameText(const BString& text) void ShowImageStatusView::_SetZoomText(float zoom) { - fCellText[kZoomCell].SetToFormat("%.0f%%", zoom * 100); + BNumberFormat numberFormat; + BString data; + + if (numberFormat.FormatPercent(data, zoom) != B_OK) + fCellText[kZoomCell].SetToFormat("%.0f%%", zoom * 100); + + fCellText[kZoomCell] = data; }