CyrusOfEden / CSV.js

A simple, blazing-fast CSV parser and encoder. Full RFC 4180 compliance.
MIT License
1.54k stars 95 forks source link

Test for string instead of float in encode #17

Closed dhcole closed 10 years ago

dhcole commented 10 years ago

Only call the replace method on variables that would have it (strings). Otherwise booleans (true, false) throw an error during encoding.