From ddf8881308b27f308aa456bef3e4833bc0383413 Mon Sep 17 00:00:00 2001 From: Serge Aleynikov Date: Fri, 25 Jan 2013 15:58:41 -0500 Subject: float_to_list/2 changed rounding and cosmetic cleanup Changed rouding to round half-way up instead of down. Cosmetic cleanup and error handling of additional edge cases. --- erts/doc/src/erlang.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'erts/doc') diff --git a/erts/doc/src/erlang.xml b/erts/doc/src/erlang.xml index b336a135e7..fc1edbf772 100644 --- a/erts/doc/src/erlang.xml +++ b/erts/doc/src/erlang.xml @@ -975,7 +975,7 @@ true Float = float() Options = [Option] - Option = {decimals, Decimals::0..249} | + Option = {decimals, Decimals::0..253} | {scientific, Decimals::0..249} | compact -- cgit v1.2.3