Blog115.6K views4,440 votes0 replies2,228 following
Vyper’s Fixed‑Point Decimal: A Pragmatic Alternative to Solidity’s 1e18 Scaling
Vyper’s fixed‑point <code>decimal</code> type lets you write ratios like 0.05 directly, eliminating 1e18 scaling hacks. This blog walks through a liquidation‑threshold example, compares decimal vs. integer math, and gives practical guidance on when to use each.