Buggy code:
public class AccountLog extends AppCompatActivity { Actioner actioner ; TextView tvNameInLog ; TextView tvAccountLog ; ImageView ivToAccountFromLog ; ImageView ivAddLogFromLog ; ImageView ivToMemberFromLog ; ImageView ivToClearFromLog ; ImageView ivDeleteAccountFromLog ; LinearLayout linearMember ; LinearLayout linearPaid ; LinearLayout linearPayable ; String name ; String detail ; int id ; int numAccountLog ; ArrayList < ArrayList < String > > arraylist ; Vector < TextView > vTV = new Vector < TextView > ( ) ; @ Override protected void onResume ( ) { super . onResume ( ) ; setContentView ( activity_account_log ) ; actioner = new Actioner ( this ) ; final Intent intent = getIntent ( ) ; Bundle bundle = intent . getExtras ( ) ; name = bundle . getString ( "name" ) ; id = bundle . getInt ( "id" ) ; detail = bundle . getString ( "detail" ) ; linearMember = ( ( LinearLayout ) ( findViewById ( R . id . linearMember ) ) ) ; linearPaid = ( ( LinearLayout ) ( findViewById ( R . id . linearPaid ) ) ) ; linearPayable = ( ( LinearLayout ) ( findViewById ( R . id . linearPayable ) ) ) ; linearMember . setPadding ( 10 , 10 , 10 , 10 ) ; linearPaid . setPadding ( 10 , 10 , 10 , 10 ) ; linearPayable . setPadding ( 10 , 10 , 10 , 10 ) ; tvNameInLog = ( ( TextView ) ( findViewById ( R . id . tvNameInLog ) ) ) ; tvNameInLog . setText ( name ) ; tvAccountLog = ( ( TextView ) ( findViewById ( R . id . tvAccountLog ) ) ) ; tvAccountLog . setText ( detail ) ; arraylist = actioner . GetDetail ( id ) ; numAccountLog = arraylist . size ( ) ; for ( int i = 0 ; i < ( numAccountLog ) ; ++ i ) { vTV . add ( ( 3 * i ) , new TextView ( this ) ) ; vTV . add ( ( ( 3 * i ) + 1 ) , new TextView ( this ) ) ; vTV . add ( ( ( 3 * i ) + 2 ) , new TextView ( this ) ) ; <START_BUG> DecimalFormat df = new DecimalFormat ( "#.00" ) ; <END_BUG> ArrayList < String > arraylist1 = arraylist . get ( i ) ; StringBuilder sb = new StringBuilder ( ) ; vTV . get ( ( 3 * i ) ) . setText ( arraylist1 . get ( 0 ) ) ; vTV . get ( ( ( 3 * i ) + 1 ) ) . setText ( df . format ( Double . parseDouble ( arraylist1 . get ( 1 ) ) ) ) ; vTV . get ( ( ( 3 * i ) + 2 ) ) . setText ( df . format ( Double . parseDouble ( arraylist1 . get ( 2 ) ) ) ) ; linearMember . addView ( vTV . get ( ( 3 * i ) ) ) ; linearPaid . addView ( vTV . get ( ( ( 3 * i ) + 1 ) ) ) ; linearPayable . addView ( vTV . get ( ( ( 3 * i ) + 2 ) ) ) ; } ivToAccountFromLog = ( ( ImageView ) ( findViewById ( R . id . ivToAccountFromLog ) ) ) ; ivToAccountFromLog . setOnClickListener ( new View . OnClickListener ( ) { @ Override public void onClick ( View v ) { Intent intent1 = new Intent ( AccountLog . this , Account . class ) ; intent1 . putExtra ( "name" , name ) ; startActivity ( intent1 ) ; AccountLog . this . finish ( ) ; } } ) ; ivAddLogFromLog = ( ( ImageView ) ( findViewById ( R . id . ivAddLogFromLog ) ) ) ; ivAddLogFromLog . setOnClickListener ( new View . OnClickListener ( ) { @ Override public void onClick ( View v ) { Intent intent1 = new Intent ( AccountLog . this , AddRecordActivity . class ) ; intent1 . putExtra ( "bookName" , intent . getStringExtra ( "name" ) ) ; startActivity ( intent1 ) ; AccountLog . this . finish ( ) ; } } ) ; ivToMemberFromLog = ( ( ImageView ) ( findViewById ( R . id . ivToMemberFromLog ) ) ) ; ivToMemberFromLog . setOnClickListener ( new View . OnClickListener ( ) { @ Override public void onClick ( View v ) { Intent intent1 = new Intent ( AccountLog . this , ManageMember . class ) ; intent1 . putExtra ( "bookName" , intent . getStringExtra ( "name" ) ) ; startActivity ( intent1 ) ; AccountLog . this . finish ( ) ; } } ) ; ivToClearFromLog = ( ( ImageView ) ( findViewById ( R . id . ivToClearFromLog ) ) ) ; ivToClearFromLog . setOnClickListener ( new View . OnClickListener ( ) { @ Override public void onClick ( View v ) { Intent intent1 = new Intent ( AccountLog . this , AccountClear . class ) ; intent1 . putExtra ( "name" , name ) ; startActivity ( intent1 ) ; AccountLog . this . finish ( ) ; } } ) ; ivDeleteAccountFromLog = ( ( ImageView ) ( findViewById ( R . id . ivDeleteAccountFromLog ) ) ) ; ivDeleteAccountFromLog . setOnClickListener ( new View . OnClickListener ( ) { @ Override public void onClick ( View v ) { new AlertDialog . Builder ( AccountLog . this ) . setTitle ( "Alert!" ) . setMessage ( "Are<seq2seq4repair_space>you<seq2seq4repair_space>sure<seq2seq4repair_space>to<seq2seq4repair_space>DELETE<seq2seq4repair_space>this<seq2seq4repair_space>log?" ) . setPositiveButton ( "Sure" , new DialogInterface . OnClickListener ( ) { @ Override public void onClick ( DialogInterface dialog , int which ) { actioner . DeleteRecord ( id ) ; startActivity ( new Intent ( AccountLog . this , MainActivity . class ) ) ; } }

Fix:
DecimalFormat df = new DecimalFormat ( "#0.00" ) ;