CMathUtils::roundToMultipleOf

refs #556
This commit is contained in:
Roland Winklmeier
2016-01-14 00:30:14 +01:00
parent ab2e5af8d6
commit b3d45f58e6
5 changed files with 96 additions and 0 deletions

View File

@@ -101,6 +101,9 @@ namespace BlackMisc
//! Random number between low and high
static int randomInteger(int low, int high);
//! Round numToRound to the nearest multiple of multiple
static int roundToMultipleOf(int value, int divisor);
};
} // namespace