Skip to content

destillationapp-frontend v0.1.0


destillationapp-frontend / helpers/formatHelpers / setIntegerNumber

Function: setIntegerNumber()

setIntegerNumber(store, value, id, storeName): void

Defined in: helpers/formatHelpers.ts:40

Formats the number input to an integer and dispatches the value to the store.

Parameters

store

any

The Vuex store instance.

value

The value to be formatted and set.

string | number

id

string

The input identifier.

storeName

string

The Vuex module name.

Returns

void