+ 1

Lambda function error

I don't why this lambda function give error. So anyone can solve this problem . https://code.sololearn.com/c1WkeCOBXbkd/?ref=app

10th May 2022, 6:32 AM
Akash Agrawal
Akash Agrawal - avatar
1 Odpowiedź
+ 2
val add: (Double, Double) -> String = {a, b -> String.format("%.2f", a + b)}
10th May 2022, 6:59 AM
OrHy3
OrHy3 - avatar