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 | 1515 | June 18, 2024 | |
| Why I can't convert non-integer float to Int64? | 6 | 315 | July 24, 2024 | |
| InexactError | 5 | 426 | August 5, 2021 | |
| Julia Int function | 2 | 392 | September 6, 2022 | |
| Why is this an InexactError()? | 2 | 15558 | December 9, 2017 |