Skip to content
Advertisement

Problem on check condition on laravel php

I have a problem on my laravel code. I want to check condition and show up using dd my code here.

JavaScript

but my result here

enter image description here

not acceptable. it should be true. What’s wrong on my code? How can I solve it?

Advertisement

Answer

I round it before comparison is ok now. Thank @El_Vanja

JavaScript
User contributions licensed under: CC BY-SA
9 People found this is helpful
Advertisement