Skip to content

Commit

Permalink
fix: 数值转换时最多保留两位小数,同时修复数值精确度问题
Browse files Browse the repository at this point in the history
  • Loading branch information
luckyadam committed Jan 10, 2025
1 parent 1b99010 commit 5630b70
Show file tree
Hide file tree
Showing 3 changed files with 160 additions and 31 deletions.
152 changes: 125 additions & 27 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ pcre2 = "0.2.6"
regex = "1.10.3"
swc_core = { version = "0.90.24", features = ["__common", "ecma_transforms_typescript", "ecma_ast", "ecma_plugin_transform", "ecma_utils", "ecma_parser", "ecma_visit", "ecma_codegen", "__testing_transform"]}
flatbuffers = "24.3.25"
rust_decimal = "1.36.0"
rust_decimal_macros = "1.36.0"

[build-dependencies]
napi-build = "2.0.1"
Expand Down
Loading

0 comments on commit 5630b70

Please sign in to comment.