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 PostHello
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 …
Jump to PostI want to have a variable that is born as rounded to 2 decimal digits,processed as rounded to 2 decimal digits and finally posted to MS SQL as rounded to 2 decimal digits.
Isn't that what he wants.. ?
No, I don't think so.
Jump to PostNo 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 PostI still don't see how that example will guarantee 2 decimal places if there is less than that in the original input. I do see how it restrict to 2 decimal places if there is more than that and how it rounds up.
Obviously I can't post entire solutions being …
Jump to PostDon't try to manually color the code which you post. Just put the code in code tags and it would be displayed accordingly.
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.