xou / elixlsx

An Elixir XLSX writer
MIT License
293 stars 116 forks source link

How do you set a formatting of a cell as percentage? #130

Open ayrosochang opened 1 year ago

ayrosochang commented 1 year ago

I can't find any documentation for this one. Is it even possible to do this?

wkirschbaum commented 7 months ago

@ayrosochang you can add the :num_format option to Sheet.set_cell. I don't know what the format should be, but would be something like "#,##0.00 %"