java - Reformat From String into Decimal -
i had data = 137500 double variable, , converted decimalformat rp.137.500,00 , set textfield. how reformat texfield 137500. cz want multiply that.
is double
variable still in scope?
if yes - use it.
if not, change it's visibility and/or, create get...()
method access it.
it's idea numbers in appropriate numeric type , formatting when becomes necessary.
while should possible extract sub-string number part , use double.parsedouble()
method conversion, still not see point of doing it.
Comments
Post a Comment