Skip to content

Improve readme example #30

Description

@alexforencich

It would be GREAT if the trivial (and therefore almost useless) example in the readme could be expanded a bit to include some more of the basic mechanics of using fastnum. Primarily it would be great to see some examples of how to convert between fastnum decimal types and other basic rust types like integers and floats. Doesn't have to be all that involved, but I know I spent several hours trying to figure out what the "correct" method is for converting a float to a decimal, as the only examples in the readme use macros which only work with constants.

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentation

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions