foxnewsnetwork / American-Lit-315

1 stars 1 forks source link

Earnings Precision Doesn't Go to 2 Decimals #29

Closed SpinnakerSix closed 12 years ago

SpinnakerSix commented 12 years ago

Precisions => 10 and float=>2 does not work? needs to look into this. right now the quick hack is dividing the amount by 100 and increasing the amount (by a factor of 100) that we add to each increment for earnings.

SpinnakerSix commented 12 years ago

I'm guessing I should do precision => 8 and float=> 2 instead. Will check on that when I have time.

SpinnakerSix commented 12 years ago

it's :precision => 8, :scale=>2, :default=>0 . Fixed!