Hello All,
I'm calling below mentioned server-side JavaScript code multiple times for different dates. When I call the function first time the varibale shows correct value -.89. When I call the function again for next date it shows -.9400000000000001 instead of -.94. If I run the query in SQL Plus it is returning -.94. Any ideas why it is happening like this ? Really appreciate any suggestions.
function DailyReport_Data(rptDate) {
// Code to execute SQL
:
:
// Code to read values
var totOutCashItems;
totOutCashItems = sqlCurs.totOutCashItems;
debug(totOutCashItems);
}
Debug message: -.89
Debug message: -.9400000000000001
Thanks much.
I'm calling below mentioned server-side JavaScript code multiple times for different dates. When I call the function first time the varibale shows correct value -.89. When I call the function again for next date it shows -.9400000000000001 instead of -.94. If I run the query in SQL Plus it is returning -.94. Any ideas why it is happening like this ? Really appreciate any suggestions.
function DailyReport_Data(rptDate) {
// Code to execute SQL
:
:
// Code to read values
var totOutCashItems;
totOutCashItems = sqlCurs.totOutCashItems;
debug(totOutCashItems);
}
Debug message: -.89
Debug message: -.9400000000000001
Thanks much.