react-custom-number
Advanced tools
Comparing version 0.0.1 to 0.0.2
@@ -59,3 +59,2 @@ import React, { useRef, useState, useEffect } from 'react'; | ||
var value = params.value, places = params.places; | ||
console.log('remove_format', value); | ||
var str_val = String(value).replace(/(\D)/g, ''); | ||
@@ -62,0 +61,0 @@ var whole = str_val.substr(0, str_val.length - places); |
@@ -65,3 +65,2 @@ 'use strict'; | ||
var value = params.value, places = params.places; | ||
console.log('remove_format', value); | ||
var str_val = String(value).replace(/(\D)/g, ''); | ||
@@ -68,0 +67,0 @@ var whole = str_val.substr(0, str_val.length - places); |
{ | ||
"name": "react-custom-number", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"main": "build/index.js", | ||
@@ -5,0 +5,0 @@ "module": "build/index.esm.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
14229
6
211