Function nextPowerOfTen

Round to next power of 10

T nextPowerOfTen(T) (
  T k
) nothrow;

Example

assert(nextPowerOfTen(80) == 100);