Fork me on GitHub
#beginners
<
2015-07-12
>
charliegriefer00:07:14

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)))

charliegriefer00:07:22

thanks to @seancorfield simple_smile