Quantcast
Channel: NPOI
Viewing all articles
Browse latest Browse all 1621

Commented Issue: Npoi 2 error in NumericCellValue (XSSFCell) [11083]

$
0
0
double.Parse(this._cell.v)
this._cell.v == "55,6" - error
this._cell.v == "55.6" - ok
 
change:
double.Parse(this._cell.v) -> double.TryParse(this._cell.v, NumberStyles.Any, NumberFormatInfo.InvariantInfo, out d);
Comments: ** Comment from web user: malkav1977 **

Hi, i´m sorry but i downloaded the laste beta version 2.0 beta 1 released on march 6, and i´m still having the same problem, cell with a value like 155,000 where the "," char is the miles separator, are readed like only 155 instead of 155000.

In fact, the real cell value is "155,000 L" wich i expected to be a string value (so i can parse the base unit liters and the actual number 155000), but instead it´s readed like a number.

Maybe i´m doing something wrong, can u help me?


Viewing all articles
Browse latest Browse all 1621

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>