我想从数字或字符串中将数字11000001107933154.14的值检索到一个变量中,但是我无法做到这一点。我已经尝试了以下方法:
let float = parseFloat("11000001107933154.14"); //11000001107933154
var assignedVar = 11000001107933154.14; //11000001107933154
let assignedLet = 11000001107933154.14;//11000001107933154
let myNumber: number = Number("11000001107933154.14"); //11000001107933154
let toFixed: number = parseFloat(Number("11000001107933154.14").toFixed(2)); //11000001107933154
let toPrecision: number =
parseFloat(Number("11000001107933154.14").toPrecision(2)); //11000000000000000
let operator: number = +"11000001107933154.14"; //11000001107933154
我想获得11000001107933154.14的值。有人可以帮我吗?