المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : use only 2 digis in simple precision



C# Programming
02-16-2010, 02:14 AM
suppose a float f and if i am intrested only in using this float but having only 2 digits after the dot so what i want to do is to delete the remaining digits .. so how do i do this?