@@ -179,7 +179,7 @@ export default {
179179 * Define decimal separator based on separator props.
180180 * @return {String} '.' or ','
181181 */
182- $decimalSeparator () {
182+ decimalSeparatorSymbol () {
183183 if (typeof this .decimalSeparator !== ' undefined' ) return this .decimalSeparator
184184 if (this .separator === ' ,' ) return ' .'
185185 return ' ,'
@@ -189,7 +189,7 @@ export default {
189189 * Define thousand separator based on separator props.
190190 * @return {String} '.' or ','
191191 */
192- $thousandSeparator () {
192+ thousandSeparatorSymbol () {
193193 if (typeof this .thousandSeparator !== ' undefined' ) return this .thousandSeparator
194194 if (this .separator === ' .' ) return ' .'
195195 if (this .separator === ' space' ) return ' '
@@ -295,7 +295,7 @@ export default {
295295 symbol: ' ' ,
296296 format: ' %v' ,
297297 thousand: ' ' ,
298- decimal: this .$decimalSeparator ,
298+ decimal: this .decimalSeparatorSymbol ,
299299 precision: Number (this .precision )
300300 })
301301 }
@@ -337,8 +337,8 @@ export default {
337337 symbol: this .currency ,
338338 format: this .symbolPosition ,
339339 precision: Number (this .precision ),
340- decimal: this .$decimalSeparator ,
341- thousand: this .$thousandSeparator
340+ decimal: this .decimalSeparatorSymbol ,
341+ thousand: this .thousandSeparatorSymbol
342342 })
343343 },
344344
@@ -349,7 +349,7 @@ export default {
349349 */
350350 unformat (value ) {
351351 const toUnformat = typeof value === ' string' && value === ' ' ? this .emptyValue : value
352- return accounting .unformat (toUnformat, this .$decimalSeparator )
352+ return accounting .unformat (toUnformat, this .decimalSeparatorSymbol )
353353 }
354354 }
355355}
0 commit comments