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
Post a Comment