We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
libfmt offers the possibility to pass the desired precision of the output to the formatter for the spatial data types. https://fmt.dev/latest/api.html#formatting-user-defined-types
This would enable to a better controllable output, example:
fmt::format("{:.4f}", Coordiante{0.1, 0.1, Level{1}}); // "COORDINATE(0.1000, 0.1000) -- LEVEL 1" fmt::format("{:.1f}", Coordiante{0.1, 0.1, Level{1}}); // "COORDINATE(0.1, 0.1) -- LEVEL 1"
ToDo:
__str__
__repr__
The text was updated successfully, but these errors were encountered:
No branches or pull requests
libfmt offers the possibility to pass the desired precision of the output to the formatter for the spatial data types.
https://fmt.dev/latest/api.html#formatting-user-defined-types
This would enable to a better controllable output, example:
ToDo:
__str__
and__repr__
in the pybindsThe text was updated successfully, but these errors were encountered: