speter пре 13 година
родитељ
комит
63faa57c7c
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      dec/example_test.go

+ 1 - 1
dec/example_test.go

@@ -36,7 +36,7 @@ func ExampleDec_Quo_scaleFixed2RoundDown() {
 	// Output: 3.33
 }
 
-func ExampleDec_Quo_scaleFixed0RoundCeil() {
+func ExampleDec_Quo_scaleFixed2RoundCeil() {
 	// -42 / 400 is an finite decimal with 3 digits beyond the decimal point
 	x, y := dec.NewDecInt64(-42), dec.NewDecInt64(400)
 	// use 2 digits beyond decimal point, round towards positive infinity