| 276 | } |
| 277 | |
| 278 | QString Util::formatCost(quint64 cost) |
| 279 | { |
| 280 | // resulting format: 1.234E56 |
| 281 | return QString::number(static_cast<double>(cost), 'G', 4); |
| 282 | } |
| 283 | |
| 284 | QString Util::formatCostRelative(quint64 selfCost, quint64 totalCost, bool addPercentSign) |
| 285 | { |
no outgoing calls
no test coverage detected