Time.ToString("0.0")
aparece como un decimal "1.5" en lugar de 1:30. ¿Cómo puedo hacer que se muestre en un formato de hora?Convertir una hora en una cadena formateada en C#
private void xTripSeventyMilesRadioButton_CheckedChanged(object sender, EventArgs e)
{
//calculation for the estimated time label
Time = Miles/SeventyMph;
this.xTripEstimateLabel.Visible = true;
this.xTripEstimateLabel.Text = "Driving at this speed the estimated travel time in hours is: " + Time.ToString("0.0") + " hrs";
}
¿Qué tipo es el tiempo? ¿es flotante? –