conversation problems

Home Forums Project Discussions conversation problems

Viewing 1 post (of 1 total)
  • Author
  • #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;


    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.