Pages
Executive Summary
Bios
Crypto
ETHBTC experiment
Sumo Vault
ORCA arbitrage
Mensa
BUIDLn a Protocol
Sunday, December 18, 2022
Rust pop-answer: percentages
Rust pop-answer to
representing percentages
.
The type, `Percentage`, gives us percentages in Rust, both parsing (reading) and representation (writing).
crypto/types/
percentage.rs
We test reading and writing percentages with
./percs
.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment