error fixxed

float to val