4 ms·
basically 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/1
by skyde 4y ago
basically 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