<?php

$sum1 = '4023.8599999999997€';
echo round($sum1, 2);