• + 1 comment

    nice! But to be even simpler I would have written it with a switch instead of many "else if"s