How to get amount of digit after point in a double for to get integer from a double?
    assert(amountAfterPoint(1.456) == 3);
    assert(amountAfterPoint(0.00006) == 5);

Reply via email to