Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Decimal256 #28

Open
victor-sushko opened this issue May 27, 2021 · 1 comment
Open

Add support for Decimal256 #28

victor-sushko opened this issue May 27, 2021 · 1 comment
Assignees

Comments

@victor-sushko
Copy link
Contributor

Decimal256(S) is an alias for Decimal(76, S). Currently all values of type Decimal(P, S) are converted to decimal and there is no intention to change it.

But Decimal256 and Decimal128 can store values which are bigger than the max value of decimal. It's not clear which .NET type could be used for big decimal values. Maybe it should be some custom type.

@MaceWindu
Copy link
Contributor

Usually providers implement custom type when there is no suitable .net type available, e.g.

  • SqlDecimal for sql server/ sql ce
  • DB2Decimal and DB2DecimalFloat for DB2
  • FbDecFloat in Firebird
  • IfxDecimal for Informix
  • MySqlDecimal for MySql
  • OracleDecimal for Oracle

as alternate/additional option it makes sense to support string type for decimals

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants