sheets
core
/
com.maxkeppeler.sheets.core.utils
/
toDp
to
Dp
@
RestrictTo
(
value
=
[
RestrictTo.Scope.LIBRARY_GROUP
]
)
fun
Float
.
toDp
(
)
:
Float
Content copied to clipboard
Converts px as Float to dp as Float.
@
RestrictTo
(
value
=
[
RestrictTo.Scope.LIBRARY_GROUP
]
)
fun
Int
.
toDp
(
)
:
Int
Content copied to clipboard
Converts px as Int to dp as Int.