blob: c5ce777d5ffa170d5bf12f8029f3bed5659faf63 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
## Description
You could override the automatic data types
## Code
```ruby
require 'axlsx'
p = Axlsx::Package.new
wb = p.workbook
wb.add_worksheet(name: 'Override Data Type') do |sheet|
sheet.add_row ['do not eat my zeros!', '0088'], types: [nil, :string]
end
p.serialize 'override_data_types_example.xlsx'
```
## Output

|