3 ms·
Though to be fair in normal usage 100 + 3% would be 103. I feel there is an implicit "of it" after 3% which you wouldn't expect with 3/100. I think it's account
by beardyw 4y ago
Though to be fair in normal usage 100 + 3% would be 103. I feel there is an implicit "of it" after 3% which you wouldn't expect with 3/100. I think it's accountant maths.
- skyde 4y agobasically the « % » symbol in 3% is a fraction notation or it’s a type notation you can overload the add operation like below. Add(int x, Percent y) = x + (y/100)*x