问题:totalShares=100.02亿,totalMined≈18万,相减后≈100.0182亿, 但 formatCompact 在亿级别只保留2位小数,四舍五入后仍显示"100.02亿", 与总量无法区分。 修复: - formatCompact 新增可选 precision 参数(默认2,向后兼容) - 剩余积分股使用 precision=4,显示为"100.0182亿",可见差异 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| android | ||
| assets | ||
| ios | ||
| lib | ||
| scripts | ||
| test | ||
| .gitignore | ||
| .metadata | ||
| DEVELOPMENT_GUIDE.md | ||
| README.md | ||
| analysis_options.yaml | ||
| pubspec.yaml | ||
README.md
mining_app
A new Flutter project.
Getting Started
This project is a starting point for a Flutter application.
A few resources to get you started if this is your first Flutter project:
For help getting started with Flutter development, view the online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.