Ad
  • Custom User Avatar

    This code checks the type of bmi and validates it's a double in addition to checking if the value falls in the range specified.
    I'm not sure why they want to check the type in this situation. It's a bit confusing.