Apologies for such a basic question - I haven't been able to find an answer anywhere.
I'm wondering how Arduino handles fractions of integers.
I'm using Arduino to run a 12 bit TLV5618 DAC (0-4095) - when I set the output value to, for example, 4095/2 - am I getting 2047.5 or does Arduino round it up/down to a 'whole' integer?
If it is actually a fraction - how many decimal places would it go to?
Hope that makes sense - thanks.
J