과학 표기법으로 문자열을 변환하려면 숫자 함수를 사용하십시오. 이 함수에 값을 전달합니다.
예시
다음 코드를 실행하여 문자열을 올바른 숫자 형식으로 변환할 수 있습니다. −
실시간 데모
<!DOCTYPE html>
<html>
<body>
<script>
document.write("String with Scientific Notation converted below:<br>");
document.write(Number("7.53245683E7"));
</script>
</body>
</html> 출력
String with Scientific Notation converted below: 75324568.3