only formattimg, really!

This commit is contained in:
Roland Averkamp 2015-09-03 20:10:10 +02:00
parent 8b186db779
commit 696232de64

View file

@ -285,7 +285,7 @@ func (d Decimal) Div(d2 Decimal) Decimal {
func (d Decimal) QuoRem(d2 Decimal, precision int32) (Decimal, Decimal) { func (d Decimal) QuoRem(d2 Decimal, precision int32) (Decimal, Decimal) {
d.ensureInitialized() d.ensureInitialized()
d2.ensureInitialized() d2.ensureInitialized()
if (d2.value.Sign()==0) { if d2.value.Sign() == 0 {
panic("decimal division by 0") panic("decimal division by 0")
} }
scale := -precision scale := -precision