python - 将大数转换为单词,然后将其四舍五入
问题描述
可以说我有很多。154,342,231
如何使用 python 将其转换为:“ 154 million
”,如果我有这样的数字:6,213,341,987
将其转换为“ 6.2 billion
?”
解决方案
推荐阅读
- google-cloud-platform - Cloud Shell 技术错误 - 有没有其他人经历过这个?
- php - 使用 php从标签中获取 URL
- c - C中#define的逆向
- react-native - 如何在 React Native 中创建具有复杂形状的底部标签栏
- python - ImportError:动态模块未使用 docker 定义模块导出功能
- adaptive-cards - 如何在自适应卡中重置表单
- ios - Deep Link 不包含有效的必需参数 - Flutter with Firebase Dynamic Link
- python - 这种方法是否可能是类实例?
- flutter - 如何设计带有外部图像的芯片?
- node.js - ExressJS res.redirect 只重定向到它自己的 URL