Hy, im learn about backend and laravel not long ago
im stuck on if function that using floating type on my project
<td>
,
@if($participant->vt_avg > 85)
x
@else
y
@endif
</td>
it should print vt_avg score , it's "x" if greater than 85 and "y" if smaller than 85
but it turn out vt_avg,y the result shows that all vt_avg is smaller than 85
Can you please help me im stuck
via Chebli Mohamed

Aucun commentaire:
Enregistrer un commentaire