speter 13 years ago
parent
commit
63faa57c7c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      dec/example_test.go

+ 1 - 1
dec/example_test.go

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