Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

correção de arredondamento no método format (Number) #36

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

correção de arredondamento no método format (Number) #36

wants to merge 2 commits into from

Commits on Jan 15, 2018

  1. Update Number.php

    Correção do método format que, em alguns casos, no cast para inteiro, gerava erro de arredondamento, por exemplo no número 35,80, o valor retornado pelo método era 35,79. Esse erro ocorreu por conta da forma que o PHP trabalha com número de ponto flutuante, mais informações em http://php.net/manual/pt_BR/language.types.float.php.
    marcelogdc authored Jan 15, 2018
    Configuration menu
    Copy the full SHA
    b1fea98 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1 from marcelogdc/master

    Update Number.php
    rafaelconceicaos authored Jan 15, 2018
    Configuration menu
    Copy the full SHA
    4721ba1 View commit details
    Browse the repository at this point in the history