vedangj044 / Frisson

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

Added function to Simply Count #22

Closed codeDamon closed 3 years ago

codeDamon commented 3 years ago

Added a kotlin class(SimplyCount.kt) which contains a function getApproximateValue(Long) to get the approximate value of the number passed and which returns the converted number in String

vedangj044 commented 3 years ago

@codeDamon Good work, this does the job. but as Koltin allows as to wite functions with declaring a class and as this function doesn't depend on any class then it's better to remove the class declaration and write just the function. If you find time make this changes.