nextPowerOfTen

Round to next power of 10

nothrow
T
nextPowerOfTen
(
T
)
(
T k
)

Examples

assert(nextPowerOfTen(80) == 100);

Meta