This simple calculation is returning zero, I can\'t figure it out:
decimal share = (18 / 58) * 100;
Whenever I encounter such situations, I just upcast the numerator.
double x = 12.0 / 23409; decimal y = 12m / 24309; Console.WriteLine($"x = {x} y = {y}");