0

Can u help me solve this coding part

let form = document.getElementById('form'); let currency = form.elements.currency.value; _____(currency); can u please help me this to solve it

7th Jun 2024, 1:39 PM
Shanmuka Priya
Shanmuka Priya - avatar
7 ответов
+ 4
If `parseFloat` doesn't work, then it's answer might be `parseInt` or `Number`.
7th Jun 2024, 3:47 PM
Gulshan Mahawar
Gulshan Mahawar - avatar
0
Can you plz provide the entire question?
7th Jun 2024, 2:58 PM
Gulshan Mahawar
Gulshan Mahawar - avatar
0
THIS WAS THE QUESTION Code to convert the value into a number let form = document.getElementById('form'); let currency = form.elements.currency.value; _____(currency); I used parseFloat also it didn't worked
7th Jun 2024, 3:43 PM
Shanmuka Priya
Shanmuka Priya - avatar
0
let form = document.getElementById('form'); let currency = form.elements.currency.value;
23rd Aug 2024, 10:14 AM
Pavithrasriharini
Pavithrasriharini - avatar
0
let form = document.getElementById('form'); let currency = form.elements.currency.value; JS (currency);
11th Oct 2024, 5:45 AM
Yohan Champika
Yohan Champika - avatar
0
code to convert the value into an number let form = document.getElementById('form'); let currency = form.elements.currency.value; _____(currency);
11th Oct 2024, 6:06 AM
Yohan Champika
Yohan Champika - avatar
0
Code to convert the value into a number let form = document.getElementById('form'); let currency = form.elements.currency.value; Number(currency); <====== OK
7th Nov 2024, 9:53 PM
vcubilette
vcubilette - avatar