1

I want to change the cut in the following code to 2.5%, how can I achieve this?

unit256 public cutNumerator = 0;
uint256 public cutDenominator = 100;

uint256 cut = (msg.value * cutNumerator) / (cutDenominator);

I thought it could be 250/1000 but I'm not sure.

RDev
  • 33
  • 4

0 Answers0