Hi Antoine,
It may be a bug. Or, there may be a possible way, but I don't know. For now, as there are limited number of
built-in time formats, you can make a custom function to convert such as:function string convertT(double dVal, string TFormat) {
%B=TFormat$;
string str$;
switch (%B) {
CASE "T1": str$=$(dVal,T1); break;
CASE "T2": str$=$(dVal,T2); break;
CASE "T3": str$=$(dVal,T3); break;
CASE "T4": str$=$(dVal,T4); break;
CASE "T5": str$=$(dVal,T5); break;
CASE "T6": str$=$(dVal,T6); break;
CASE "T7": str$=$(dVal,T7); break;
CASE "T8": str$=$(dVal,T8); break;
CASE "T9": str$=$(dVal,T90); break;
CASE "T10": str$=$(dVal,T10); break;
CASE "T11": str$=$(dVal,T11); break;
CASE "T12": str$=$(dVal,T12); break;
CASE "T13": str$=$(dVal,T13); break;
CASE "T14": str$=$(dVal,T14); break;
CASE "T15": str$=$(dVal,T15); break;
CASE "T16": str$=$(dVal,T16); break;
CASE "T17": str$=$(dVal,T17); break;
default: str$="NA"; break;
}
return str$;
}
double d1=0.010816342592593;
string format$="T10";
string str$=convertT(d1, format$)$;
str$=;
00:15:34.532
Sorry for a crude work-around...
--Hideo Fujii
OriginLab