Format the Float64 to match the spec instead of converting to an Int. Perhaps you can find examples here: How to format float numbers in human-friendly format?
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| InexactError: Int64 | 2 | 1535 | June 18, 2024 | |
| Why I can't convert non-integer float to Int64? | 6 | 321 | July 24, 2024 | |
| InexactError | 5 | 429 | August 5, 2021 | |
| Julia Int function | 2 | 393 | September 6, 2022 | |
| Why is this an InexactError()? | 2 | 15561 | December 9, 2017 |