decimal number in dbpro - Forum

Forum Navigation
You need to log in to create posts and topics.

decimal number in dbpro

hello

In the dbpro plugin,

decimal numbers are not stored properly in the bigint field.

For example, 3.5 is stored 35

What is the problem?

@s7shanbe bigint stores "big integers". An integer is, by definition, a number with no decimal values.
You should use a field type that supports decimal values (float or "floating point").

Regards.

More on this here:
Understanding Numerical Data Types in SQL | LearnSQL.com

@luishp

thank you

I am using an access database. The float data type also does not display decimal numbers.

Can I create a SQL database with dbpro?

@s7shanbe

Please take a look here:
https://docs.microsoft.com/en-us/office/troubleshoot/access/decimal-value-rounded-up-down-integer

Can I create a SQL database with dbpro?

Access is a SQL database. SQL is just a language for storing, manipulating and retrieving data in databases.

Regards.