Handling rate (not whole number) in crowdsale

Has anyone used rate in Openzeppelin’s crowd sale which is not whole number. As in I am subtracting small amount by every purchase. Just struggling to handle rate when it’s not a whole number.

1 Like

Update:- as in, is there a possible to way to reduce rate by 0.0028 on every purchase(logic to do it after every purchase is done). I am here mainly struggling with that decimal issue.

1 Like

Hi @PradhumnaPancholi,

Were you able to setup your rate?