Jump to content
43oh

Govs

Members
  • Content Count

    1
  • Joined

  • Last visited

About Govs

  • Rank
    Noob Class

Profile Information

  • Location
    Mexico City
  • Interests
    Computer science
  1. Hi, I'm using a launchpad and I want to convert a string value (weight) to a float or double value, have tried atof, but it doens't work. Do you know a way to achive this cast? I have also tried float() or double(), like this: String str="002.845"; float weight= float(str); or char str[7]="002.845"; double weight= atof(str);
×
×
  • Create New...