scamp_extensions.utilities.math.ceil_to_multiple

scamp_extensions.utilities.math.ceil_to_multiple(x, factor)[source]

Returns the multiple of factor that is closest above x. The first argument can optionally be a list, tuple, or iterator, in which case this is performed on each element.