kerncraft/models/ecm.py
def round_to_next(x, base):
    """Round float to next multiple of base."""
    # Based on: http://stackoverflow.com/a/2272174
    return int(base * math.ceil(float(x)/base))
def round_to_next(x, base):
    # Based on: http://stackoverflow.com/a/2272174
    return int(base * math.ceil(float(x)/base))
def round_to_next ( x , base ) : # Based on: http://stackoverflow.com/a/2272174 return int ( base * math . ceil ( float ( x ) / base ) )
Round float to next multiple of base.
Round float to next multiple of base .