Hello,
Welcome to Microsoft Q&A!
I guess the string format is invalid on iOS .
You can simply combine the string manually as below .
public string FormatHours(double hours)
{
int actualHours = (int)hours;
int actualMinutes = (int)((hours - Math.Truncate(hours)) * 60);
return actualHours + "h " + actualMinutes + "m";
}
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.