Fixed Point Rounding

Do fixed-point arithmetic without overflow or precision loss, and always round in the protocol's favor. Use when computing shares, proportional payouts, interest, prices, or any a*b/c where inputs are large or user-controlled.

0xebby Updated

File contents

0xebby/awesome-solidity-skills/tree/main/skills/fixed-point-rounding commit 51f6086a9d

Frequently asked questions

npx skillmds@latest add 0xebby/fixed-point-rounding