Hi, i create simple Fahrenheit / Celcius converter with MUI, But i get little error, i think
contents value must be float, how do that via MUI
Quote:
switch(id)
{
case MUIV_Application_ReturnID_Quit:
running = FALSE;
break;
case CALCULATE:
{
float cell;
get(fahrenText, MUIA_String_Contents, &contents);
cell =(5.0/9.0) * (contents - 32.0); //ERROR main.c:127: invalid operands to binary -
set(celciusText, MUIA_String_Contents, cell);
}
break;