question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Would it be possible to add support for decimal.Decimal DataTypes?

I’m happy to make a PR as well, if you agree.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
zeroSteinercommented, Mar 2, 2021

v3.0 has been released and posted to PyPi. It contains the changes that we have discussed here. It also adds the to_str attribute for the FLOAT data type so you can apply a regex to the value as you suggested.

1reaction
iuvbiocommented, Mar 1, 2021

Makes sense! I see 3.0.0 was pushed 6 minutes ago, I look forward to trying it out.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Decimal data type - Wikipedia
Language supportEdit · C# has a built-in data type 'decimal', consisting of 128-bit resulting in 28-29 significant digits. · Starting with Python 2.4,...
Read more >
decimal — Decimal fixed point and floating point arithmetic ...
The decimal module provides support for fast correctly rounded decimal floating point arithmetic. It offers several advantages over the float datatype:.
Read more >
Multi-decimal Support - Chargebee Docs
The multi-decimal support feature helps you avoid compromising your price and unit values, and ensures more accurate billing. With multi-decimal pricing ...
Read more >
Decimal Support - Dremio docs
Dremio supports mixed decimal types for AWS Glue and Hive datasets that are either in Parquet files or Optimized Row Columnar (ORC) files....
Read more >
Decimal Data Type - Visual Basic | Microsoft Learn
The Decimal data type provides the greatest number of significant digits for a number. It supports up to 29 significant digits and can ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found