I found it in the source (I think), in stringobject.c there's a formatfloat routine that looks like it requires a float. If this is the right routine, I'm still stumped. -- Emile van Sebille emile at fenx.com