Closed KrisBigK closed 5 years ago
I don't see any reason why reactor temperature, heat generation, etc to be a float, so I changed them to display as integers.
They are currently passed to String.format as floating-point values, so just changing them to %,d
in Bundle.properties will trigger a java.util.IllegalFormatConversionException. I can think of 3 ways to avoid this:
%,.0f
instead - skips showing the decimal places, but doesn't require any changes to the Java code.Alright, used %,.0f
. Now it should be fine.
Technically not for the CSV data, but I'll take care of it - adding the grouping separator to the format specifier means that some of them may end up with an inconsistent number of columns, but since some places use the comma as a decimal separator (and a period as the grouping separator), there was a risk of that before.
I don't see any reason why reactor temperature, heat generation, etc to be a float, so I changed them to display as integers. Also deleted an extra "%" that I found.
I'm not sure about whether to change related things in CSV output. They should also be integers.