kirillrakhman
12/17/2015, 6:00 PMjshmrsn
12/17/2015, 6:07 PMilya.gorbunov
12/17/2015, 6:08 PMsystemExit
or exitToSystem
jshmrsn
12/17/2015, 6:09 PMexitProcess
(if that's technically accurate, I think it is?)ilya.gorbunov
12/17/2015, 6:11 PMjshmrsn
12/17/2015, 6:30 PMiamsteveholmes
12/17/2015, 6:38 PMjshmrsn
12/17/2015, 6:39 PMyoavst
12/17/2015, 6:39 PMiamsteveholmes
12/17/2015, 6:44 PMiamsteveholmes
12/17/2015, 6:45 PMiamsteveholmes
12/17/2015, 6:45 PMorangy
diesel
which would wrap Netty with some nice Kotlin simple smileorangy
jw
12/17/2015, 6:54 PMiamsteveholmes
12/17/2015, 7:05 PMorangy
evanchooly
12/17/2015, 7:39 PMvoddan
12/18/2015, 1:10 AMkotlinx.http
?iamsteveholmes
12/18/2015, 2:00 AMvoddan
12/20/2015, 1:21 PMnatpryce
12/20/2015, 5:18 PMnatpryce
12/20/2015, 5:19 PMnatpryce
12/20/2015, 5:20 PMarthur
12/21/2015, 10:02 AMpublic operator fun BigDecimal.div(other: BigDecimal) : BigDecimal = this.divide(other)
to public operator fun BigDecimal.div(other: BigDecimal) : BigDecimal = this.divide(other, RoundingMode.HALF_UP)
Without setting the rounding mode, divide seems to be a bit pointless as it will often result in an error. Can anyone see a reason why this proposal would be a bad idea?arthur
12/21/2015, 10:02 AMilya.gorbunov
12/21/2015, 5:22 PMcbruegg
12/21/2015, 6:22 PMarthur
12/21/2015, 11:20 PMarthur
12/21/2015, 11:24 PMRoundingMode.HALF_EVEN
. it does the same thing as HALF_UP except when it is exactly between two numbers where HALF_EVEN will be rounded to the nearest even number.
For example 2.5
becomes 3 with HALF_UP and 2 with HALF_EVEN