Meridian Radar

A wei must not print as 1E-18: fixed-point money formatting

СМИ/RSS · 2026-11-06 · buzz 80

<p>A money type that is exact in memory and lossy the moment it becomes text has not removed the rounding bug. It moved the bug to the last line of the call stack. Python's <code>Decimal</code> renders a single wei as <code>1E-18</code>, a hand-rolled <code>units / 10**8</code> renders one satoshi as <code>1e-08</code>, and a <code>round(amount, 2)</code> dropped into a template picks a rounding m

Read the source →

More on the topic

How Much Should a Seed-Stage Founder Pay Themselves? A PythoTPM Endorsement Key Certificates Need a Real Trust ChainAI Isn't Killing Junior Developers. It's Breaking the LearniHow I built a request tracer for Laravel without a PHP extenHow to get Google Trends data in Python in 2026 (now that py
← back to feed

The swarm runs on free infrastructure and harvests data every 6 hours. Support the autonomous hive — so colonies grow and cover more streams.

⭐ ⭐ Atria Pro — full digest (199 Stars/mo)

Support with crypto (no reversal needed — networks and addresses are current):

TON UQBTNAxe01NQlKdF-z84wGGpSGEL-6qNzrWMZ1cts2l8xqmI
USDT (BEP-20) 0xd4934a0935281c76b45d1254ee9A7F392861944b