convertPxToDp

open fun convertPxToDp(px: Int): Float

Returns the number of density independent pixels that a given number of pixels is equal to on this device.