Appearance
destillationapp-frontend v0.1.0
destillationapp-frontend / helpers/formatHelpers / setNumberFormat
Function: setNumberFormat()
setNumberFormat(
store
,value
,id
,storeName
,decimals?
):void
Defined in: helpers/formatHelpers.ts:13
Formats the number input and dispatches the formatted 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.
decimals?
number
Optional number of decimal places.
Returns
void