Type double in progress

mariaProgress

New Member
Hello,I would to know if there is a type "Double " in progress , because I want to add a field of type integer and size 20 in database.
 
What version of Progress are you using?

What do you mean by "size 20"???

The int64 data type is a 64 bit integer. Int64 came with 10.2.

Decimals can handle up to 50 digits (and have been available since the dawn of time...)
 
20 - is this the number of digits you want to display on the field or hold in the db?
either way, IMHO,
DEFINE VARIABLE iMyInteger AS INTEGER NO-UNDO.
should suffice....
 
A signed 32 bit integer has a maximum size of 2,147,483,647 -- only 10 digits, and only up to "2" in the most significant digit...

A signed 64 bit integer has a maximum size of 9.2 * 10^18. So even a 64 bit integer is less than 20 digits.

Thus only a decimal can be used to get 20 digits.

I am curious to know what data needs 20 digits of an integer.
 
bank account number needs 20 digit and I want to save this number in db.

I'm using a type decimal to save this number but I would use type integer .

thank you for your help .
 
Back
Top