• Caterpillar
    Caterpillar
    Blasterreal
    Posts: 40 from 2007/3/30
    Thx jaca,

    Solition here, it work now

    Quote:

    switch(id)
    {

    case MUIV_Application_ReturnID_Quit:
    running = FALSE;
    break;

    case CALCULATE:
    {
    float cell;
    float value;
    char value2[32];

    get(fahrenText, MUIA_String_Contents, &contents);
    value = atof (contents);
    cell =(5.0/9.0) * (value - 32.0);

    sprintf (value2, "%f", cell);

    set(celciusText, MUIA_String_Contents, value2);

    }
    break;

    }
  • »01.01.23 - 20:38
    Profile Visit Website