conversation problems

Home Forums Project Discussions conversation problems

This topic contains 0 replies, has 1 voice, and was last updated by  Adepoju Jamiu Adegboyega 2 weeks, 6 days ago.

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #13896

    Good afternoon geeks, I’m working on a project that mmeasure the resistivity of earth.  I used the circuit voltmeter ammeter circuit posted by Ligo couple of years ago. I’m having problem with float to string conversion. The results are not accurate in term of decimal places. For example I used

    char res[7] ;

    float Resistance;

    resistance=volt/(current/1000);

    floattostr(resistance, res)

    But instead of getting the decimal places the way they suppose to appear is the problem.  Such as 191.876 instead of 19.1876. Help me please

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

string(7) "9898001"