in my code i use integers multiplied by 100 as decimals (0.1 is 10 etc). Can you help me to format output to show it as decimal?
you can use double instate of int. it gives you a output with decimals.
if you want the number to stand behind the dot. you can use this:
**int number=100; double result; result=number/(number.length-1);**
I hope you can you use this.