This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
The issue ended up being that total-earnings
was a BigDecimal. so I wasn’t entirely accurate in my description. clicks
was 12, and total-earnings
was 10M. Solution was to wrap total-earnings
in a (double)
. So (* 100 (float (/ (double total-earnings) clicks)))
thanks to @seancorfield