Comments (4)
Have you tried, "using ExtendedNumerics;
" ?
We're working on the library. If you notice any issues, please create an Issue here on GitHub.
from bigdecimal.
Yeah, including the using statement
using ExtendedNumerics;
should do the trick.
The nuget package DOES contains BigDecimal.Parse(string)
Actually, I can think of 1 thing that might be the problem. Let me ask you this: Which framework version are you using in your project? For example, is your project using .NET Framework 4.8, .NET Core 3.1, .NET Standard, .NET 5.0, .NET 6.0 or other (there are many others, this is just a few common ones)? You can find this by viewing the properties of your project file, it should be on the first page under 'Target Framework'.
Note that the latest nuget package does not reflect the latest code updates, but it sounds like this shouldn't matter for your purposes.
Sounds like the property DecimalPlaces or SignifigantDigits is what you're after.
I am working on getting a new .nuget version together that will contain most the different .net frameworks in one for the maximum compatibility. That's pretty much done so I would expect that today, but Ill leave a comment here when it is.
from bigdecimal.
Okay, the latest code has been published to a new nuget version:
https://www.nuget.org/packages/ExtendedNumerics.BigDecimal/2022.73.321
Is supports the following frameworks: .NET 6.0 .NET Core 3.1 .NET Standard 2.1 .NET Framework 4.8
from bigdecimal.
I'm going to go ahead and mark this as resolved. The method on that class IS there, the only thing I could think of that might have been happening is if your project was targeting any other version of .NET other than the .NET Framework 4.5 or lower (4.0, 3.5, etc.).
I have since released a new Nuget library version, version 2022.73.321, which covers the latest version of each of the .NET 'types': Core, Standard, Framework, and what is now known as just dotnet, I guess, that supersedes all three. Since each is backwards compatible, as far as I'm aware, this should cover you, whatever .NET version your project happened to be.
So update the nuget package to the latest version, and I be that will work for you.
Feel free to open another bug ticket if this is unresolved or you encounter new issues.
from bigdecimal.
Related Issues (11)
- Do we still want to keep the .NET 5 as an option? HOT 2
- Question: Is there a technical reason that the platform is restricted to x64? HOT 7
- No strong name for .NET Framework targets HOT 5
- SECURITY ISSUE: You are putting your PRIVATE key in the repo HOT 2
- Does it support hexadecimal large number calculation HOT 5
- Invalid Parse result of negative number in scientific notation HOT 2
- Parse(Double input) fails , if CurrentCulture has NumberFormat with 'comma' instead of 'dot' HOT 2
- Propose a way to store BigDecimal in SQL tables HOT 3
- Subtraction having issues. HOT 5
- Minor issue: "nu5035" after a Publish. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bigdecimal.