Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

When is the value Zero negative or positive?

OTG-467455Nov 13 2017 — edited Nov 23 2017

Examining the savings account and checking account code one sees that only values greater than zero are treated as positive values.

This made me think about the value ZERO.  In mathematics and physics, when is ZERO a negative value, when is it a positive value, is it a sign itself or is it unsigned?

Message was edited by: OTG-467455

Message was edited by: OTG-467455

Comments

Processing

Post Details

Added on Nov 13 2017
3 comments
1,425 views