listen EADDRINUSE: address already in use 127.0.0.1:8000
sudo lsof -i :3000
listen EADDRINUSE: address already in use 127.0.0.1:8000
sudo lsof -i :3000
listen EADDRINUSE: address already in use 127.0.0.1:8000
kill -9 {PID}
javascript convert string to float
// parseFloat takes in a string value and converts it to a float
// The parseFloat function will look at the first character of
// the string and decided whether that character is a number or not
// If not the parseFloat function will return Nan
let stringNumber = "8.0"
let floatNuumber = parseFloat(stringNumber);
javascript convert string to 2 decimal
var twoPlacedFloat = parseFloat(yourString).toFixed(2)
javascript convert string to number
var myInt = parseInt("10.256"); //10
var myFloat = parseFloat("10.256"); //10.256
javascript string to a decimal
<script language="JavaScript" type="text/javascript">
var a = "3.3445";
var c = parseFloat(a);
alert(c);
</script>
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us