Capacitance Unit Convert page maths error?

Feedback and error reporting for Electronics 2000 web site.
Please post any comments, suggestions, errors, omissions, broken links etc. here.
Post Reply
Dynamo Barber
Posts: 1
Joined: Wed Jul 04, 2018 10:29 pm

Capacitance Unit Convert page maths error?

Post by Dynamo Barber » Wed Jul 04, 2018 10:46 pm

Hello there.

I'd like to let you know that I'm seeing some weird conversion value responses on the Capacitance Unit Convert page ( ... verter.php).

If I convert 100, 200, 400, 800 or 900 NF to MF, the answer isn't totally correct.

For example,
100nf turns into 0.09999999999999999u Farads
200nf turns into 0.19999999999999998u Farads
400nf turns into 0.39999999999999997u Farads, so on and so forth with two other example values.

300, 500, 600 and 700 don't seem to have this fractional issue. This also does not seem to happen on 10, 20, 40, 80 or 90 or 1000, 2000, 4000, 8000 or 9000 values

I haven't really tried anything else beyond these values or units.

Thanks for this excellent website!

Simon (Webmaster)
Site Admin
Posts: 173
Joined: Tue Jan 29, 2008 7:05 pm
Location: Nottingham, UK

Re: Capacitance Unit Convert page maths error?

Post by Simon (Webmaster) » Thu Jul 05, 2018 9:08 pm

Thanks, I'll take a look when I get a chance and see what is going on.
Simon Carter
Electronics 2000

Post Reply