Closed

Resolve [text to number] conversion issue on input control

I am setting the input type number with value from my angularjs controller. The value is in text, e.g. "1.50" or "1.00".

The workaround would be to use the parseFloat function and set the value of my input type number. However doing so would display the value as 1.5 or 1 instead of 1.50 or 1.00. Meaning that the trailing zeros are truncated.

The other workaround would be to use parseFloat along with the toFixed function to ensure that the trailing zeros are maintained. However I would have to change the input type from number to text which is not desirable in my case.

Your task is to fix this issue while maintaining the input type as number.

A very simple task and you are required to work via teamviewer.

Skills: Angular.js, HTML5, Javascript

See more: angular 2 input number only, react number input component, react input type number, angular 4 input number only, input type number maxlength angularjs, angularjs input number only, angular 2 input string to number, react js input type number, time input control, javascript time input control, excel text number, text audio conversion service, resolve sql database replication issue, excel csv date text number, access currency number conversion, text number nokia phone, number conversion php, php number conversion, text file conversion, web based time input control

About the Employer:
( 26 reviews ) Petaling Jaya, Malaysia

Project ID: #17479009

12 freelancers are bidding on average $14 for this job

ludiac

Hi there, Yes, it would be a quick fix for us. Just provide teamviewer access to fix the issue. Thank you!

$30 USD in 1 day
(16 Reviews)
5.5
DHSprout

Hi I have 5+ experience in web development. I have completed many task like this. I have strong knowledge of Javascript, Bootstrap CSS, Angular JS, HTML, CSS, JQuery etc . Please check my profile for more about More

$15 USD in 10 days
(28 Reviews)
4.7
MrAbdulBasit

i read your description. I'm skilled person in MEAN/MERN STACK. Other projects: [login to view URL] (angularjs) [login to view URL] (React/Redux) Completed freelancer projects: ht More

$15 USD in 10 days
(10 Reviews)
3.7
hamidali1994

Here is my most recent projects [login to view URL]

$15 USD in 10 days
(8 Reviews)
3.9
$15 USD in 10 days
(9 Reviews)
4.0
souchadi159

Hello, I'm a full stack web developer with great experience in JavaScript, i took a look at your problem and i can fix it for you if you want. BTW, you can use parseFloat and toFixed(2) without changing the input More

$10 USD in 0 days
(12 Reviews)
3.3
webinvoidia

Dear Hiring Manager/Hello I’ve carefully gone through your job posting. I ’m an expert with more than 4 years experiences of both web development front-end developer. I am very much interested in your project with al More

$10 USD in 10 days
(4 Reviews)
2.8
sivajibudida

In my personal experience being the one conducting interviews, when I ask this question, what I have in mind is to measure the confidence level of the person and reasoning skills. You may need to brag a little about yo More

$15 USD in 10 days
(0 Reviews)
0.0
owaisanjum97

I can do this right now. I have good experience in input type number with decimals. .

$10 USD in 0 days
(0 Reviews)
0.0
$10 USD in 10 days
(0 Reviews)
0.0
ajith1994m

<input id="hybrid" type="text" name="password" /> <script type="text/javascript"> [login to view URL]('hybrid').type = 'password'; </script>

$15 USD in 1 day
(0 Reviews)
0.0
mustafaucuncu

Well, I need to gain some good feedback. Don't I?

$10 USD in 2 days
(0 Reviews)
0.0