converting doubles to strings

Hi,I am building an application using Multi 2000 v3.6 for StrongArm SA1100. I need to convert a double to a string. There is a twist to it though. I need it to be in exponent form. E.g if the double number value is 38.14968755153154, I want the converted string value to be 3.814968755153154e+01. Does anyone know of any library functions that I can use? Thanks Zille

I am pretty sure the c function sprintf can do what you need to accomplish. Just be carefull with your stack size. It can easy use 2K or more using complex calls to it.