Ask Experts Questions for FREE Help !
Ask
    twigZ's Avatar
    twigZ Posts: 1, Reputation: 1
    New Member
     
    #1

    Jul 14, 2013, 04:06 AM
    trim floats or remove
    tv6.setText(String.valueOf((Float.valueOf(et1.getT ext().toString())*.14)+Float.valueOf(et1.getText() .toString())));
    tv7.setText(String.valueOf(Float.valueOf(et2.getTe xt().toString())-Float.valueOf(tv6.getText().toString())));

    I'm pretty new to coding :( I want to ask how the .0 or decimal in the output of the program I am using
    here's what I am trying to do:

    et1=gb et2=amount
    Gross bill answers total and amount into change its like on cash registers I think :|
    basically I want to convert the answers into Integer's or single number? Like instead of 114.0 it should be 114 only.
    I'm sorry I am not really good at this but I am trying to learn java coding.

Check out some similar questions!

How do I remove panel to remove defrost control board model number aff2534few1 [ 1 Answers ]

Have ice up coils tested bimetal an heater all ckecks check OK need to replace defrost control not sure how located under ref light ?

Remove trim from door of a Mercedes 230 c class [ 0 Answers ]

How do I remove the trim from the drivers side door of a 230C Mercedes to do repair work to surface rust?

Sarah Palin Floats Glenn Beck as a Possible 2012 Running Mate [ 49 Answers ]

Sarah Palin Floats Glenn Beck as a Possible 2012 Running Mate | Politicususa.com This is going to be fun!

Is it all right if your fish floats in the middle of the tank [ 10 Answers ]

Helllo I have got a fish and it is a black moor, I have had him for quite a while but I have noticed and I started to that he/she is floating in the middle of the tank and just floating there is my fish all right or what should I do. Thanks please reply :)

Poo.feces, why it floats? [ 3 Answers ]

Does anyone know why some of our poops float and some sink?


View more questions Search
 

Question Tools Search this Question
Search this Question:

Advanced Search

Add your answer here.