php - Laravel: Flash data in Blade file truncating double value -


double value when sent blade file in laravel controller function having 15 digits after decimal automatically getting rounded off 6-7 digits after decimal when printed in blade file. not getting reason why happening so? sending data follows:

    return redirect()->to('/list')->with('data_record', $data); 

the code in view file (blade) displays data follows:

@foreach(session('data_record') $item) {{$item->lat}},{{$item->lng}} <br> @endforeach 


Comments

Popular posts from this blog

The SDK directory does not exist (ubuntu 16.04) (react native) -

python - How to clone or copy a list? -

python - How to use Celery in Tornado with redis as broker and backend? -