dimsuz
07/27/2021, 4:51 PMlerp
in Compose? Like when I have start=10.dp
, end=20.dp
, current=15.dp
and want to feed this to that function and receive fraction=0.5
back.Kirill Grouchnikov
07/27/2021, 5:44 PMdimsuz
07/27/2021, 7:42 PMlerp
exists in Compose, which is also a one-liner, so I thought maybe inverse one exists too, only I didn't know how to find it.