accountant

Good afternoon, I'm Brazilian and I don't speak English very well, but if you understand help me please

I'm doing an accountant but I can't leave it without the negative numbers, can anyone help me? I send the project outline

What is an 'accountant'?

Here in the United States.. an 'accountant' is a person. a Human being with a job/purpose of helping with finances..

Whether is be personal or for business..

The forum has a Portuguese section.

Sorry, I don't understand your question...

If this Arduino related, a standard type [u]int[/u] variable (or constant) can be positive negative and it can hold values between -32,768 and 32,767. (It's a 16-bit binary number with the leftmost bit used as the +/- sign.) An unsigned int (positive numbers only) can "count" twice as high.

See [u]variables[/u] in the [u]Arduino Language Reference[/u].

  • In most cases you don't need to worry about the binary, but negative numbers are represented in two's compliment which is a bit screwy but it means there is no "negative zero" and that's why you can go one-count higher with negative numbers.

A wild guess, but it seems very likely that the OP is trying to write code for a calculator but we will probably never know