I have varchar value 4890
And i am casting it to decimal and dividing by 100000
Its output is 0.0489000
But when i calculated the same on calculator it gives 0.04890
And i think it should be 0.04890
Please help me out
Thanking in Advance
Arjun_Sarankulu
-3
Junior Poster
Recommended Answers
Jump to Postit gives 0.04890
And i think it should be 0.04890If you are getting what is expected, what is the problem ?
All 4 Replies
debasisdas
580
Posting Genius
Featured Poster
Arjun_Sarankulu
-3
Junior Poster
debasisdas
580
Posting Genius
Featured Poster
Arjun_Sarankulu
-3
Junior Poster
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.