View Single Post
How do I remove the decimal (.0)
Old
chellydee
Junior Member
 
Status: Offline
Posts: 9
Join Date: Jul 2016
Question How do I remove the decimal (.0) - 08-06-2016, 09:28 PM

I'm working on an assignment, in which I have to make an Alice character say an integer, but also include a statement in the method that will decrement the integer with each loop. I have both a variable with the starting number value and a variable to say the number as a string. However, my character says the number as "100.0" vs "100".....
how do I fix this issue?
   
Reply With Quote