Danier,
TBASIC only supports integer math.
I believe that 15,5 is a number between 15 and 16. In the
US we would write this number as 15.5
TBASIC will go nuts with the "," and spit out all sorts of error
messages. This crazy behavior is the best that it can do.
I think that this will give you the results that you desire:
v = (ADC(3) * 10 ) / 155
Another way of thinking about this is
ADC(3) ADC(3) * 10 ADC(3) * 10
-------- = ------------- = -------------
15.5 15.5 * 10 155
Gary D.
[/font]