rewrite toTimesTenString