change %a to %f in number->string