Skip to content

Commit

Permalink
test javacast
Browse files Browse the repository at this point in the history
  • Loading branch information
darrell-rg committed Sep 12, 2024
1 parent 48d8cac commit 0c80ce8
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions test/tickets/LDEV5086/LDEV5086.cfm
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ try {
bigDecimalBalance: startingBalance}
) ;
EntitySave(person);
// ormFlush();
ormFlush();
writeOutput( "success1" );
}
Expand Down Expand Up @@ -76,8 +76,11 @@ try {
{
// check that roundtrip has not changed the balance
for (person in results) {
balance = person.getBigDecimalBalance()
if(balance eq startingBalance )
// balance = javacast( "BigDecimal", 9999.123456 );
//balance = javacast( "BigDecimal",person.getBigDecimalBalance());
balance = person.getBigDecimalBalance();
if( abs(startingBalance - balance) lt 0.001 )
{
writeOutput( "success4" );
}
Expand Down

0 comments on commit 0c80ce8

Please sign in to comment.