shenwei356 / csvtk

A cross-platform, efficient and practical CSV/TSV toolkit in Golang
http://bioinf.shenwei.me/csvtk
MIT License
999 stars 84 forks source link

csv2xlsx stores number as text #192

Closed tolot27 closed 2 years ago

tolot27 commented 2 years ago

csv2xlsx stores any number (ints and floats) as text in xlsx. Afterwards, it is not possible to calculate with it except if all affected cells are converted. It would be created if numbers are stored as numbers.

How to reproduce: echo 89.173 | csvtk -H csv2xlsx -o numberAsText.xlsx

image

shenwei356 commented 2 years ago

fixed.