Posted 07 March 2014 - 11:23 AM
So I have a program that acts as a message board and anyone can come up to add a message to it. More simply I have a problem with the write function.
If I issue m.write(i) and i = 1, or another integer, the monitor shows up with 1.0 or 2.0 etc.
Is there some way to use the write function that doesn't change # into #.0?
From what I understand is that the write function is for peripherals, and the print function is for the terminal.
Thanks in advance for any help, please don't get upset if a topic exists with this already. I don't think I missed it, but there is always that chance.
If I issue m.write(i) and i = 1, or another integer, the monitor shows up with 1.0 or 2.0 etc.
Is there some way to use the write function that doesn't change # into #.0?
From what I understand is that the write function is for peripherals, and the print function is for the terminal.
Thanks in advance for any help, please don't get upset if a topic exists with this already. I don't think I missed it, but there is always that chance.