hi,
i need to ask how to generate the negative answer?
i have one formula. But always give me positive answer..
For exmaple:
AllocatDiff2 = 100 * -0.05;
hope somebody can help me ...ASAP!! Thanks ...
hi,
i need to ask how to generate the negative answer?
i have one formula. But always give me positive answer..
For exmaple:
AllocatDiff2 = 100 * -0.05;
hope somebody can help me ...ASAP!! Thanks ...
Jump to Post>>AllocatDiff2 = 100 * -0.05;
Looks negative to me. Something else must be going on. Post more code and a fuller explanation, particularly the type of AllocatDiff2.
>>AllocatDiff2 = 100 * -0.05;
Looks negative to me. Something else must be going on. Post more code and a fuller explanation, particularly the type of AllocatDiff2.
hi,
i need to ask how to generate the negative answer?
i have one formula. But always give me positive answer..
For exmaple:
AllocatDiff2 = 100 * -0.05;hope somebody can help me ...ASAP!! Thanks ...
is AllocatDiff2 and unsigned int?
Also, you should set your compiler warnings at the highest level, that way (if it is a signed/unsigned problem) issues like this will appear at compile-time.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.
You're trying to visit a URL that doesn't currently exist on the web. Most likely, a member posted a link a long time ago to a web page that has since been removed. It's also possible that there was a typo when posting the URL. We redirect you to this notice instead of stripping out the link to preserve the integrity of the post.