Quantcast
Channel: npoi Discussions Rss Feed
Viewing all articles
Browse latest Browse all 637

New Post: NPOI and setCellFormula(): decimal-separator is cutoff

$
0
0
I've a serious problem copying this formula with NPOI 1.2.5 from one cell to another with C#:

The original cell contain this:
=IF(H21>(H23*0.9997);IF(H21<(H23*1.0003);"OK";"Errore");"Errore")
The resulting cell reports exactly this formula, but with the decimal separator stripped. So I get this:
=IF(H21>(H23*9997);IF(H21<(H23*10003);"OK";"Errore");"Errore")
This is my debugger view right after the setFormula():

Image

Any help would be greatly appreciated.

Viewing all articles
Browse latest Browse all 637

Trending Articles