# integer interpretation by xls reader node

**URL:** <https://forum.knime.com/t/integer-interpretation-by-xls-reader-node/2586>\
**Category:** KNIME Analytics Platform\
**Created:** [January 16, 2013, 4:09pm UTC](https://forum.knime.com/t/integer-interpretation-by-xls-reader-node/2586 "2013-01-16T16:09:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nico1990](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/n/ea5d25/32.png) [@Nico1990](https://forum.knime.com/u/Nico1990)\
**Post date:** [January 16, 2013, 4:09pm UTC](https://forum.knime.com/t/integer-interpretation-by-xls-reader-node/2586/1 "2013-01-16T16:09:23Z")

</div>

Hello!

I am wondering why, sometimes, XLS reader node interprete columns of integers so bad?

Let me explain. In my xls file, there is a column that contains only integers or blanks. With Excel, each integer is saw as a number with 0 decimal (eg: 412, 535, 5467690, 45451524...) . When the node reads my file, firstly the column type is string (why not), but also integer are a little bit transformed (eg:412.0, 535.0, 5.467690E7,45451524E7...).

So, I try to convert the column in number with the String to Number node, but it fails:

WARN &nbsp;&nbsp; &nbsp; StringToNumberNodeModel&nbsp;&nbsp; &nbsp; Values in 410 cells could not be parsed, first error: '4124851.0' (RowKey: Row2, Position: 1)

In another xls file with a column containing also only number, I don't have the problem, xls reader recognize the integer type.

For some reasons, I can not convert this file in csv or txt, that is why I would like to know if it exists a solution.

Thanks,

Nico

---

<div class="post-metadata">

**Author:** ![Nico1990](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/n/ea5d25/32.png) [@Nico1990](https://forum.knime.com/u/Nico1990)\
**Post date:** [January 17, 2013, 9:33am UTC](https://forum.knime.com/t/integer-interpretation-by-xls-reader-node/2586/2 "2013-01-17T09:33:03Z")

</div>

I get around the problem by saving file with open office. I did not change anything but well, it works.

Let me just add one thing. That would be nice if, in the future, we could choose the type of a column directly in the xls reader node.

Nico

---

<div class="post-metadata">

**Author:** ![system](https://forum-cdn.knime.com/uploads/default/original/1X/ab3ccf34482a0329361734a18199390177204f15.png) [@system](https://forum.knime.com/u/system)\
**Post date:** [June 23, 2023, 8:18pm UTC](https://forum.knime.com/t/integer-interpretation-by-xls-reader-node/2586/3 "2023-06-23T20:18:03Z")

</div>


