vedangj044 / Frisson

Android app to read reports of UFO sightings
5 stars 2 forks source link

Function to simply count #20

Closed vedangj044 closed 3 years ago

vedangj044 commented 3 years ago

I'm submitting a

Expected Behaviour:

Write a kotlin function to simplify a number. That means input = 1000; ouput = 1k input = 2341 output = 2k

basically, this function approximates the values of the number if it's more than 1000.