We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0cba43 commit 6458c2bCopy full SHA for 6458c2b
src/com/inet/excel/ExcelResultSet.java
@@ -1,5 +1,5 @@
1
/*
2
- * Copyright 2023 i-net software
+ * Copyright 2023 - 2024 i-net software
3
*
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
* you may not use this file except in compliance with the License.
@@ -511,7 +511,11 @@ public Reader getCharacterStream( String columnLabel ) throws SQLException {
511
*/
512
@Override
513
public BigDecimal getBigDecimal( int columnIndex ) throws SQLException {
514
- return getValue( columnIndex );
+ Object value = getValue( columnIndex );
515
+ if( value == null ) {
516
+ return null;
517
+ }
518
+ return new BigDecimal( value.toString() );
519
}
520
521
/**
0 commit comments