Ad
  • Custom User Avatar

    I'm thinking of maintaining the code - works for this solution - but not a best practice

  • Custom User Avatar

    This seems like a bad practice as it relys on being an int, if the function were to change to be a float/double then this wouldn't produce correct answer.