Skip to content

dec: cannot cast decimal values with exponent > 0 into primitive ints #49

@sploiselle

Description

@sploiselle

The decimal implementation of casting values into primitive integers requires the exponent to be exactly zero. However, it could be more permissive (and useful) and require that the exponent is simply greater than zero, and do some bookkeeping at the end to multiply the result by the appropriate power.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions