harmony-one / harmony

The core protocol of harmony
https://harmony.one
GNU Lesser General Public License v3.0
1.46k stars 286 forks source link

Removed trailing zeros. #4709

Closed Frozen closed 1 month ago

Frozen commented 1 month ago

Removed trailing zeros.

GheisMohammadi commented 1 month ago

could you please explain the changes and the reason for removing trailing zeros?

Frozen commented 1 month ago

could you please explain the changes and the reason for removing trailing zeros?

Reason is not to have tests like this NewDec(12340), "12340.000000000000000000", and have like this NewDec(12340), "12340"