12 May 2017

Increase Number Roundness

My solution:
bool increaseNumberRoundness(int n) 
{
    return n.ToString().TrimEnd('0').Contains('0');
}

Previous Next