Hi!
printf seems a good try .... look at the manual for details....
(%i1) num: 0.00000017$
printf(false,"~f",num);
printf(false,"~e",num);
printf(false,"~g",num);
output---->
(%o2) "0.00000017"
(%o3) "1.6999999999999998e-7"
(%o4) "1.70000000e-7"
Best
sorry I looked into the manual but I cannot find a solution:
>>
>> (%i74) 0.0017;
>> (%o74) 0.0017
>> (%i75) 0.00017;
>> (%o75) 1.7000000000000001E-4
________________________________________________________________
Jose Sanchez-Marin.
Universitat de Valencia.
Spain e-mail: Jose.Sanchez at uv.es
_________________________________________________________________