mongodb里面的浮点数使用的是decimal128
类型,在rust-mongodb的包里面,to_string
方法只能获取到一个int array
。而且没有其他的操作方式
这个包可以将那个int array
转换为一个浮点数字符。
拉取到本地后可以用cargo run test
看项目中的测试案例的情况。
Wenyi1995/rust_mongo_decimal128_tostring
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published