Skip to content

Make Percentage Full Type

  • Changes percentage to be a full stateful type.
  • Adds truncation when constructing a percentage.
  • Changes the equality check for a percentage to use the largest precision.
  • Changes the double less-than operator for a percentage to use the default.
  • Adds an inequality operator test for percentage.
  • Adds a QDebug stream insertion operator.
  • Changes to allow the percentage to have a varying precision.

Closes #46 (closed)

Merge request reports

Loading