The following evaluates to true:

```
'{:.2f}'.format(2.0) > '{:.2f}'.format(10.0)

```

I want to write a number to excel with two decimals (2 as 2.00) using `dataframe.to_excel`, but it gets displayed as text instead of a number in a cell.

Update:

```
import pandas as pd

data_table = [[1.0,2.0,3.0],[4.0,5.0,6.0]]
dataframe = pd.DataFrame(data_table)

writer = pd.ExcelWriter(fileName, engine='xlsxwriter')
dataframe.to_excel(writer,float_format='%11.2f', index=False)
writer.save() 

```

It still shows 6 instead of 6.00. Maybe excel strips the 0 when I open it

```
1 2 3
4 5 6

```