Problem with long value in Arduino

Zuska report abuse

In Arduino, I want to save a long value in multiplying view, but as an output, I receive smaller value than it should be. It seems that it limits as int value, but before I defined it as long. What do I do wrong?


AnJoel report abuse

Hi Zuska, You should write (long) before expression or write 'l' before multipliers.

Add Answer

Need support?

Just drop us an email to ... Show more