can anyone tell me how to round off the values..

what i want is this

lets say 2.44534

i want to get it to

2.44

any idea how.. please help me

what i want is this

lets say 2.44534

i want to get it to

2.44

any idea how.. please help me

Put that in the original post. We have absolutely no way of knowing that's what you want if you don't tell us, so tell us right away so we don't have to guess. That's also rounding down, not rounding off.

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.