mirror of
https://github.com/shopspring/decimal.git
synced 2024-11-22 20:40:48 +01:00
only formattimg, really!
This commit is contained in:
parent
8b186db779
commit
696232de64
1 changed files with 2 additions and 2 deletions
|
@ -285,7 +285,7 @@ func (d Decimal) Div(d2 Decimal) Decimal {
|
|||
func (d Decimal) QuoRem(d2 Decimal, precision int32) (Decimal, Decimal) {
|
||||
d.ensureInitialized()
|
||||
d2.ensureInitialized()
|
||||
if (d2.value.Sign()==0) {
|
||||
if d2.value.Sign() == 0 {
|
||||
panic("decimal division by 0")
|
||||
}
|
||||
scale := -precision
|
||||
|
|
Loading…
Reference in a new issue