17 lines
169 B
JavaScript
17 lines
169 B
JavaScript
|
|
||
|
|
||
|
|
||
|
function fromString(i) {
|
||
|
var i$1 = parseFloat(i);
|
||
|
if (isNaN(i$1)) {
|
||
|
return ;
|
||
|
} else {
|
||
|
return i$1;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
export {
|
||
|
fromString ,
|
||
|
}
|
||
|
/* No side effect */
|