<?php
$numerador = '1.390,76';
echo "\n";
echo "\n";
$divisor = '70';
echo "\n";
echo ($numerador /$divisor);
echo "\n";
echo "\n";
//tratando string para formato válido para calculos matematicos
$numerador = '1.390,76';
//retira os pontos (.)
//transforma virgula (,) em ponto (.)
$divisao = ($numerador/$divisor);
echo "\n";
echo "\n";
//formatando para 2 casas decimais
PD9waHAKCiRudW1lcmFkb3IgPSAnMS4zOTAsNzYnOwp2YXJfZHVtcCggJG51bWVyYWRvciApOyAKZWNobyAiXG4iOwplY2hvICJcbiI7CiRkaXZpc29yID0gJzcwJzsKdmFyX2R1bXAoICRkaXZpc29yICk7CmVjaG8gIlxuIjsKZWNobyAoJG51bWVyYWRvciAvJGRpdmlzb3IpOwoKCmVjaG8gIlxuIjsKZWNobyAiXG4iOwoKLy90cmF0YW5kbyBzdHJpbmcgcGFyYSBmb3JtYXRvIHbDoWxpZG8gcGFyYSBjYWxjdWxvcyBtYXRlbWF0aWNvcwokbnVtZXJhZG9yID0gJzEuMzkwLDc2JzsKLy9yZXRpcmEgb3MgcG9udG9zICguKQokbnVtZXJhZG9yPXN0cl9yZXBsYWNlKCIuIiwiIiwkbnVtZXJhZG9yKTsKLy90cmFuc2Zvcm1hIHZpcmd1bGEgKCwpIGVtIHBvbnRvICguKQokbnVtZXJhZG9yPXN0cl9yZXBsYWNlKCIsIiwiLiIsJG51bWVyYWRvcik7Cgp2YXJfZHVtcCggJG51bWVyYWRvciApOyAKCiRkaXZpc2FvID0gKCRudW1lcmFkb3IvJGRpdmlzb3IpOwoKZWNobyAiXG4iOwplY2hvICJcbiI7CgovL2Zvcm1hdGFuZG8gcGFyYSAyIGNhc2FzIGRlY2ltYWlzCmVjaG8gbnVtYmVyX2Zvcm1hdCgkZGl2aXNhbywgMiwgJywnLCAnLicpOw==