Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request]【简单】链上记录这个单位转换哦 鉴于每个token 精度不一样 1.新增多token选择 2由于显示很多是格式化后的数量,支持去除格式化后的数字 #23

Closed
uvd opened this issue Jun 10, 2022 · 0 comments

Comments

@uvd
Copy link
Collaborator

uvd commented Jun 10, 2022

精度如何获取 参考 https://github.com/starcoinorg/starcoin-explorer/blob/main/src/utils/sdk.ts#L149_L161

  • 2的说明
    比如 111,111,111.22 这样的数字
@uvd uvd changed the title [Feature Request]链上记录这个单位转换哦 鉴于每个token 精度不一样 1.新增多token选择 2由于显示很多是格式化后的数量,支持去除格式化后的数字 [Feature Request]【简单】链上记录这个单位转换哦 鉴于每个token 精度不一样 1.新增多token选择 2由于显示很多是格式化后的数量,支持去除格式化后的数字 Jun 10, 2022
@uvd uvd closed this as completed Jul 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant