prevAlignedTo

fun Int.prevAlignedTo(align: Int): Int

Returns the previous value of this that is multiple of align. If this is already multiple, returns itself.


Returns the previous value of this that is multiple of align. If this is already multiple, returns itself.


Returns the previous value of this that is multiple of align. If this is already multiple, returns itself.


Returns the previous value of this that is multiple of align. If this is already multiple, returns itself.