Hello
i have spent hours and days and couldn't find how i can make a variable that has rounded to 2 decimal digits. But i dont want to use myVariable.value....or myVariable()....styles. In the net i have seen something like BCD that is related for official accounting issues but i coudn't make any use of it because i didn't understand it. I am neither a prorammer(i would love to be one) nor a student( meaning something related with assignment or schools) but i make some extensions to the accounting software that i use. Thanks to every one especially Danny
certem 0 Newbie Poster
Recommended Answers
Jump to Post— ~s.o.s~ 2,560No the output is not enough for me. I am very confused. I thought that this issue was a simple, widespread one and the answer would be an easy one. Some huge number of people should have needed it before me. Ok I understand that it is not the way …
Jump to Post— Dave Sinkula 2,398No I don't mean using integer math as an alternative to using floating value.
Well then color me confused. I still don't know quite what you're asking for.
Jump to Post— ~s.o.s~ 2,560Don't try to manually color the code which you post. Just put the code in code tags and it would be displayed accordingly.
Jump to Post— Ancient Dragon 5,243You might get the source code for this open-source accounting package to see how they do it. I have not seen it so I don't know if it will help you or not.
Jump to Post— John A 1,896There you go.
http://en.wikipedia.org/wiki/Variable
http://en.wikipedia.org/wiki/ConstantNext time, please use Google or whatever other search engine …
All 36 Replies
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
Lerner 582 Nearly a Posting Maven
Ravalon 62 Posting Whiz in Training
certem 0 Newbie Poster
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
Lerner 582 Nearly a Posting Maven
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
Lerner 582 Nearly a Posting Maven
Lerner 582 Nearly a Posting Maven
~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster
~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster
certem 0 Newbie Poster
~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster
Lerner 582 Nearly a Posting Maven
Lerner 582 Nearly a Posting Maven
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
Lerner 582 Nearly a Posting Maven
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
Dave Sinkula 2,398 long time no c Team Colleague
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
Lerner 582 Nearly a Posting Maven
certem 0 Newbie Poster
Dave Sinkula 2,398 long time no c Team Colleague
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.