Mateusz Woś
Mateusz Woś
If you need all trigonometric functions out of the box `decimal` won't be the best choice, you can still use `decimal` to calculate those missing functions, but it would require...
Not sure if this library needs the` Percent` method, in my opinion, such API design would be confusing, and saving a few keystrokes is not the best tradeoff here. On...
No, they are not. I just think the `Percentage` method should not be a part of the decimal struct as it may be confusing in many scenarios. In the example...
Hi! I would say it is not intended behavior, but I'm not sure what former authors of the library have in mind during implementations of the `Mul` method. Personally, I...
Yes, you are right @KerkDovan the product of div operation has a precision = 17, and the div factor has precision = 16. So if we round the result at...
Hi @helenfufu! I've never studied `NewFromFloatWithExponent` implementation before, but while looking at it and tests for that init function it seems it was intentional (even though it is still kinda...
@vtolstov The easiest way would be reading them directly from file and use `NewFromString` method. Does uint32 to decimal conversion is the requiremnt for you? Where do you store precision...
Ok, so you are not able to read them as a string. You could use `New` init method and set decimal point (comma) via `exp` parameter.
@morgasaurus I'll try to look at your PR. Adding to the backlog.
Hi @p410342078. At the moment our library does not support initialization from Nan, -Inf and +Inf. We will try to add support in the future.