couler la corde à int angular

Exactly like in JavaScript, you can use the parseInt or parseFloat functions,
 or simply use the unary + operator:
var x = "32";
var y: number = +x;
BlueMoon