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

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -