Skip to content

Documentation


Documentation / @blazetrails/activesupport / RoundingHelper

Class: RoundingHelper ​

Defined in: packages/activesupport/lib/number-helper/rounding-helper.ts:15

Constructors ​

Constructor ​

new RoundingHelper(options): RoundingHelper

Defined in: packages/activesupport/lib/number-helper/rounding-helper.ts:18

Parameters ​

ParameterType
optionsRecord<string, unknown>

Returns ​

RoundingHelper

Properties ​

options ​

readonly options: Record<string, unknown>

Defined in: packages/activesupport/lib/number-helper/rounding-helper.ts:16

Methods ​

digitCount() ​

digitCount(number): number

Defined in: packages/activesupport/lib/number-helper/rounding-helper.ts:33

Parameters ​

ParameterType
numberunknown

Returns ​

number


round() ​

round(number): unknown

Defined in: packages/activesupport/lib/number-helper/rounding-helper.ts:22

Parameters ​

ParameterType
numberunknown

Returns ​

unknown