https://kotlinlang.org logo
#announcements
Title
# announcements
s

Slackbot

11/11/2017, 4:36 PM
This message was deleted.
k

karelpeeters

11/11/2017, 4:40 PM
fun centuryFromYear(year: Int) = (year-1)/100
I'm not sure what you want for negative years or the year 0, but this should work for positive ones.
(for next time, surround your code with ``` or upload it as a file)
c

CodeCrazy99

11/11/2017, 4:43 PM
thanks
sorry,
'''''
Copy code
`` oh I found it.. dang.. never even used that ```
k

karelpeeters

11/11/2017, 4:45 PM
Please don't delete your original message(s).
c

CodeCrazy99

11/11/2017, 4:45 PM
oh.. ok..
k

karelpeeters

11/11/2017, 4:46 PM
It just makes the discussion confusing for people who see it later.
c

CodeCrazy99

11/11/2017, 4:46 PM
ah, thanks
k

karelpeeters

11/11/2017, 4:46 PM
No problem!
c

CodeCrazy99

11/11/2017, 4:46 PM
sorry.. completely new here..
so cool though
code is like entering another planets atmosphere huh
k

karelpeeters

11/11/2017, 4:46 PM
🙂
c

CodeCrazy99

11/11/2017, 5:07 PM
its as if learning kotlin is like searching for gold
you have to really search just to find a small nugget
x

x80486

11/11/2017, 7:21 PM
...try Erlang and you will see 😇
3 Views