Creates a fact with the given key and value, which will be printed in a format like "key: value." The numeric value is converted to a string with delimiting commas.
(String key, @Nullable Number value)
| 88 | * value." The numeric value is converted to a string with delimiting commas. |
| 89 | */ |
| 90 | static Fact numericFact(String key, @Nullable Number value) { |
| 91 | return new Fact(key, formatNumericValue(value), /* padStart= */ true); |
| 92 | } |
| 93 | |
| 94 | /** |
| 95 | * Formats the given numeric value as a string with delimiting commas. |