The Rust Programming Language Forum
How to have a global BigDecimal value in Rust
help
cuviper
August 24, 2021, 4:54pm
2
You can use
lazy_static
or
once_cell::sync::Lazy
.
show post in topic
Related topics
Topic
Replies
Views
Activity
Java's BigDecimal for Rust?
help
6
2323
November 21, 2021
Question about constants
help
4
8068
September 29, 2019
How to make it global?
help
8
303
April 24, 2024
How to save global state in rust?
help
3
2413
January 12, 2023
Currency in Rust
9
6588
January 12, 2023