Limitations of java.util.Formatter (and String.format) #3407
Labels
enhancement
Feature request (that does not concern language semantics, see "language")
Milestone
After the big rewrite of #3380 and its numerous fixes, there are still a few things that are not supported in
java.util.Formatter
and therefore inString.format
:%a
.BigInteger
s andBigDecimal
s.%t.
family.The first two might be doable at some point. Formatting dates would bring in way to much code in every Scala.js application, and there are better APIs for that now in
java.time
anyway.See also #3202 which records that
%f
,%e
and%g
have rounding discrepancies compared to the JVM.The text was updated successfully, but these errors were encountered: