Since the customer will enter the values in text boxes, Its in string value.
For example: textBox1.Text = ".57" textBox2.text = "" etc which has to be added and display the resume in another textBox.
I am first parsing the textBox value to float.
Then typecasting the int part as Hr and subtracting the full float value with Hr to get the minutes as (0.57 - 0). But I am getting the result as 0.569999 and then by using Decimal.Round(T1.ToString(),2) I am getting 0.56 instead of 0.57.