diff --git a/CNAME b/CNAME deleted file mode 100644 index 42109b4..0000000 --- a/CNAME +++ /dev/null @@ -1 +0,0 @@ -php-decimal.io \ No newline at end of file diff --git a/_includes/rounding.md b/_includes/rounding.md index 7817c56..94a77ca 100644 --- a/_includes/rounding.md +++ b/_includes/rounding.md @@ -12,7 +12,7 @@ The reason for this default is **to prevent biasing the average** upwards or dow The default rounding mode can not be changed because it affects how values are reduced to a precision. With a fixed internal rounding mode, an input value will always result in the same decimal value for a given precision, regardless of the environment. However, some methods allow you to provide a rounding mode, which can be any of the following constants: -- `Decimal::ROUND_UP` (away from from) +- `Decimal::ROUND_UP` (away from zero) - `Decimal::ROUND_DOWN` (towards zero) - `Decimal::ROUND_CEILING` (towards positive infinity) - `Decimal::ROUND_FLOOR` (towards negative infinity) diff --git a/scripts/app.js b/scripts/app.js index 2b6c9bb..59b7bf3 100644 --- a/scripts/app.js +++ b/scripts/app.js @@ -127,7 +127,7 @@ function hideResult() { function evaluate() { clearResult(); - $.post('http://192.241.150.198', {input: sandbox.getValue()}, setResult) + $.post('https://php-decimal-sandbox.com', {input: sandbox.getValue()}, setResult) .fail(function() { setResult("An error has occurred - most likely out of memory."); }); diff --git a/templates/main.md b/templates/main.md index c30531d..239b9fa 100755 --- a/templates/main.md +++ b/templates/main.md @@ -7,8 +7,9 @@ permalink: / ============ [![Github](https://img.shields.io/badge/src-php--decimal-lightgrey.svg?style=flat-square&branch=master)](https://github.com/{{ site.data.project.github }}){:class="shield github"} -[![Build Status](https://img.shields.io/travis/{{ site.data.project.travis }}.svg?style=flat-square&branch=master)](https://travis-ci.org/{{ site.data.project.travis }}){:class="shield"} -[![PECL](https://img.shields.io/badge/PECL-1.0.1-blue.svg)](https://pecl.php.net/package/decimal){:class="shield"} +[![Build Status](https://travis-ci.org/php-decimal/ext-decimal.svg?branch=master&style=flat-square)](https://travis-ci.org/php-decimal/ext-decimal){:class="shield"} +[![Build Status](https://ci.appveyor.com/api/projects/status/lg5nw5tqgpmv1c33?svg=true)](https://ci.appveyor.com/project/rtheunissen/php-decimal){:class="shield"} +[![PECL](https://img.shields.io/badge/PECL-1.3.0-blue.svg)](https://pecl.php.net/package/decimal){:class="shield"} {% include introduction.md %} {% include installation.md %}