If you know that you are dealing with NumberFormat
, there is probably no good reason. However, if you are in an unusual situation, knowing only about Format
, then you do not know what value you use parsing and parseObject
is all there is.
Personally, I donβt remember ever using only the usual Format
myself, but I believe that if you are in the general business of parsing and formatting (for example, for a user interface widget), then this can be useful.
source share