Lines Matching refs:rounding
39 rounding: 4, property
49 t(Decimal.rounding === 4);
59 rounding : 4, property
69 t(Decimal.rounding === 4);
131 T.assertEqual(expected, Decimal.rounding);
134 t(4, {rounding: void 0}); property
135 t(0, {rounding: 0}); property
136 t(1, {rounding: 1}); property
137 t(2, {rounding: 2}); property
138 t(3, {rounding: 3}); property
139 t(4, {rounding: 4}); property
140 t(5, {rounding: 5}); property
141 t(6, {rounding: 6}); property
142 t(7, {rounding: 7}); property
143 t(8, {rounding: 8}); property
145 tx(function () {Decimal.config({rounding: -1})}, "rounding : -1"); property
146 tx(function () {Decimal.config({rounding: 0.1})}, "rounding : 0.1"); property
147 tx(function () {Decimal.config({rounding: 8.1})}, "rounding : 8.1"); property
148 tx(function () {Decimal.config({rounding: 9})}, "rounding : 9"); property
149 tx(function () {Decimal.config({rounding: '0'})}, "rounding: '0'"); property
150 tx(function () {Decimal.config({rounding: '1'})}, "rounding: '1'"); property
151 tx(function () {Decimal.config({rounding: '123456789'})}, "rounding: '123456789'"); property
152 tx(function () {Decimal.config({rounding: 1.1})}, "rounding : 1.1"); property
153 tx(function () {Decimal.config({rounding: -1.1})}, "rounding : -1.1"); property
154 tx(function () {Decimal.config({rounding: 11})}, "rounding : 11"); property
155 tx(function () {Decimal.config({rounding: []})}, "rounding : []"); property
156 tx(function () {Decimal.config({rounding: {}})}, "rounding : {}"); property
157 tx(function () {Decimal.config({rounding: ''})}, "rounding : ''"); property
158 tx(function () {Decimal.config({rounding: 'hi'})}, "rounding : 'hi'"); property
159 tx(function () {Decimal.config({rounding: null})}, "rounding : null"); property
160 tx(function () {Decimal.config({rounding: NaN})}, "rounding : NaN"); property
161 tx(function () {Decimal.config({rounding: Infinity})}, "rounding : Infinity"); property
163 t(8, {rounding: void 0}); property
349 rounding: 2, property
359 t(Decimal.rounding === 4);
364 Decimal.rounding = 3;
369 t(Decimal.rounding === 4);