Tristan Caron
01/17/2019, 7:55 PMDouble
work.
But when I use Evaluate
in the debugger, I am able to round it.
I tried with BigDecimal
and DecimalFormat
. Both work in Evaluate
but not in the code.Tristan Caron
01/17/2019, 7:56 PMfun floorDouble(double: Double): Double {
return BigDecimal(double).setScale(2, RoundingMode.HALF_DOWN).toDouble()
}
Tristan Caron
01/17/2019, 7:56 PMval decimalFormat = DecimalFormat("#.##").apply {
roundingMode = RoundingMode.HALF_DOWN
}
rustyrazorblade
01/18/2019, 12:54 AMmarchuck
01/18/2019, 7:33 AMGx Lo
04/01/2020, 1:01 AMuser
04/02/2020, 9:18 AMAmiedema
04/02/2020, 1:57 PMgrahamborland
04/03/2020, 11:13 AMkotlinOptions
for Gradle module A, and expose an inline class in module A’s API, do I also need to have that option enabled in the kotlinOptions
for module B which has a dependency on module A and which consume its API? I tried just enabling the option for module A, and it all seemed to work.bill1550
04/03/2020, 7:13 PMbmarinovic
04/03/2020, 7:15 PMCodic
04/05/2020, 4:05 PMpackage com.file1
fun test()=println("O")
ghosalmartin
04/06/2020, 8:37 AMShreyas Patil
04/06/2020, 9:15 AMuser
04/06/2020, 9:52 AMHolger Steinhauer [Mod]
04/07/2020, 10:36 AMChris Cunningham
04/07/2020, 12:26 PMxii
04/07/2020, 9:36 PMxii
04/07/2020, 9:37 PMAnimesh Sahu
04/08/2020, 5:46 AMSandy
04/08/2020, 10:34 PMuser
04/09/2020, 8:51 AMuser
04/09/2020, 12:59 PMSandy
04/09/2020, 3:23 PMSergey Sidorenko
04/10/2020, 5:26 PMAnaniya
04/10/2020, 5:35 PMyodgor777
04/10/2020, 7:12 PM