10-02-2022 2:00 PM
actually i have to calculate a amount for example A=300 B=200 C=B-A. In output it is showing C = 100. but it should be -100
so there should be negaite sign in front of those
i'm using decimal datatype both in structure as well in declaring.
10-02-2022 3:08 PM
10-02-2022 3:41 PM
10-02-2022 3:47 PM
You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that your answer complies with our Rules of Engagement.
10-02-2022 3:48 PM
10-02-2022 4:12 PM