Mateusz Woś

Results 130 comments of Mateusz Woś

@eclipseo I'll try to look at this tomorrow. @rhenwood-arm Hm, I think it may be the case, I'll make sure

@venantius Seems like pretty useful functionality. I'll add this to the backlog.

Hi! Currently, the are two ways to achieve that. Both are not the most elegant, but they work :D ```go NewFromFloat(5.45600).Truncate(0).Round(4).String() // output: "5.0000" NewFromFloat(5.45600).Round(0).Round(4).String() // output: "5.0000" ``` Hopefully,...

Hi! Personally, I don't think such change is anyhow valuable for the library. `GoString` method should defines the Go syntax for that value and the default value is more valuable...

That's true if GoString must print valid syntax that can be used outside of the package my proposal is not valid at all, I was not familiar with this interface...

Sorry for not being active lately, started a new job. My biggest concern about the proposed enhancement/PR is that decimal returned by `GoString` method may not always reflect the original...

Hi again! * If you meant decimal string representation, currently it is not possible as `decimal.String()` is not parametrized. You would have to implement it by yourself. * If you...

Sorry for the late response, really late response :D I like your implementation, it's quite clear and understandable. Also, those unit tests are implemented quite well too imo :3! One...

Sure, I can do it myself too. For sure I will at least put your GH nickname in the changelog, as I really appreciate your contribution to this library :3

@kempeng Personally, I'm not convinced of this idea. I've never saw a decimal library that provides such constant as public API. The zero value in the decimal library was created...