• 5 Posts
  • 5 Comments
Joined 1 年前
cake
Cake day: 2023年8月19日

help-circle

  • I spent 4 hours today trying to figure out why a calculation to get a percentage (in decimal) was always returning exactly 1 no matter what parameters I tried passing to it. Turns out I’d forgotten to cast the ints being provided to decimal, even though I’ve had to do that so many times before. I’m not a sharp man