Mateusz Woś

Results 132 comments of Mateusz Woś

By default trailing zeroes are truncated when decimals are converted to string representation. We are discussion potential enhancement in this PR https://github.com/shopspring/decimal/pull/296

Hi @Halimao. Sure I will consider it :D Personally, I would opt for adding just essential constants, to not overload the API surface with unnecessary ones.

Hi! This issue has been already fixed on the main branch. I have to create a new release so documentation will be updated on pkg;.go.dev. I will do it soon,...

`DivisionPrecision` variable specifies the precision of the `Div` operation, by default it's set to 16 for performance reasons as most users do not need more precise calculations. The variable is...

Sorry for the late response :< I had no idea you were the first who fixed documentation issues for rounding methods. I've already merged #341. I will mention you in...

That would be an amazing addition to the library, thanks for the suggestion! :3 I won't be able to implement it before the 1.4 release, but I will add it...

Hi @u5surf! Thanks for working on this, I greatly appreciate that! :3 Answering your questions: > What should we consider the width of view? I think in our case the...

Hi all! Sorry for the late reply :

Thanks for such a detailed rationale @epelc :3 So the main difference would be a support for various DB drivers that could allow easier web application development, and the company...

Hi @epelc! I'm sorry it took me so long to do this, I had a lot of things on my head in the last few months. Here's the PR https://github.com/shopspring/decimal/pull/363...