i've created a invoice creator but it keeps rounding my numbers how do i stop this.
You see at stukprijs = 206,61 and total is 206 total needs to be 206,61 aswell.
code:
public function makepdf(Request $request){
$data = $request->all();
$data['totaal1'] = $data['stukprijs1'] * $data['aantal1'];
i sent the values from a form field with post
the app is build in laravel
thanks in advance
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire