fix STEP progress message percent format (#14994)

This commit is contained in:
Nathan Schulte
2026-07-29 08:48:01 -05:00
committed by GitHub
parent 7bd53b1283
commit d434e35488

View File

@@ -78,7 +78,7 @@ public:
Standard_Boolean UserBreak() override { return should_stop.load(); }
void Show(const Message_ProgressScope&, const Standard_Boolean) override {
std::cout << "Progress: " << GetPosition() << "%" << std::endl;
std::cout << "Progress: " << std::fixed << std::setprecision(2) << 100.0 * GetPosition() << "%" << std::endl;
}
private:
std::atomic<bool>& should_stop;