A
A
artanets2014-05-29 22:29:57
Arduino
artanets, 2014-05-29 22:29:57

How to make arduino not round calculations?

I need it to leave and show me two digits after the decimal point.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
J
jcmvbkbc, 2014-05-29
@artanets

Use float/double and %.2f format. Or use fixed point arithmetic.
I hope my answer sounds as incomprehensible to you as your question is to me.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question