The following works in JavaScript but not in TypeScript. How can we parse a float in TypeScript?
var result = parseFloat("12234234234323.0");
var div = document.getElementById('result');
div.ierHTML = result;
<div id="result"></div>
The following works in JavaScript but not in TypeScript. How can we parse a float in TypeScript?
var result = parseFloat("12234234234323.0");
var div = document.getElementById('result');
div.ierHTML = result;
<div id="result"></div>
برچسب:
نویسنده: استخدام کار