I am having problems with long, longlong, integers, dec, and decimal datatypes in PowerBuilder 12.5 Classic...
I did something like this and is giving me problems of datatypes;
// set variables for item price and the cash given by the customer
double price, cash
price=double(trim(sle_price.text))
cash=double(trim(sle_cash.text))
if cash="" then
messagebox("","CASH")
sle_cash.setfocus()
return
end if
if fare="" then
messagebox("","SET FARE")
sle_amount.setfocus()
return
end if
double balance
balance=cash -price
messagebox("",balance)
INSERT INTO cash_table
( items.price
VALUES ( :price );