1
0
mirror of https://github.com/MikeMcl/decimal.js.git synced 2024-10-27 20:34:12 +00:00

Added test for floating point numbers in toRadixString.

This commit is contained in:
ocado 2016-09-20 22:24:13 +02:00
parent abf5f3ded5
commit 25ff1b1710

View File

@ -217,5 +217,12 @@ T('toRadixString', function () {
t("6g35112", 10000000000, 34);
t("5fdv5ap", 10000000000, 35);
t("4ldqpds", 10000000000, 36);
t("110010.01", 50.25, 2);
t("302.1", 50.25, 4);
t("62.2", 50.25, 8);
t("50.25", 50.25, 10);
t("32.4", 50.25, 16);
t("1e.9", 50.25, 36);
});