Switched svg writer to NSNumberFormatter, %g wasn't the magic bullet