Temporary dtoa implementation