path: root/ext/bigdecimal/bigdecimal_en.html
diff options
authorknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-02-09 06:48:51 +0000
committerknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-02-09 06:48:51 +0000
commit179eb278898bff510a73e8d316702f5c0afa13e1 (patch)
treee0df8b2fb5aa58accbba734a9a1638795d2da6d1 /ext/bigdecimal/bigdecimal_en.html
parentb2515d3003d53d3d476b14c96194310a41a68171 (diff)
* ext/bigdecimal: Synchronize with trunk. Better function
prototypes, removal of a useless method `!=', and document updates. git-svn-id: svn+ssh:// b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/bigdecimal/bigdecimal_en.html')
1 files changed, 4 insertions, 5 deletions
diff --git a/ext/bigdecimal/bigdecimal_en.html b/ext/bigdecimal/bigdecimal_en.html
index 02c88df43e1..c2b86faef6c 100644
--- a/ext/bigdecimal/bigdecimal_en.html
+++ b/ext/bigdecimal/bigdecimal_en.html
@@ -379,7 +379,7 @@ after every n digits for readability.
BigDecimal("0.1234567890123456789").to_s(10) # ==> "0.1234567890 123456789E0"
-n can be an string representing a positive integer number.
+n can be a string representing a positive integer number.
BigDecimal("0.1234567890123456789").to_s("10") # ==> "0.1234567890 123456789E0"
@@ -678,10 +678,9 @@ structure.
<H3>Disadvantage of decimal representation</H3>
-Advantages stated so far can also be disadvantages if the input from outside is
- represented in binary.
-Translation error from decimal to binary or vice versa is inevitable.
-So,translation from Float(binary) to BigDecimal(decimal) is not alway done exactly.
+Because most computers have no internal decimal representaion.
+Once you use BigDecimal,you need to keep using it without
+considering computation cost if exact computation is required.
<H4>Which is the first input?</H4>
Because most people uses decimal notatin for numeric data representation,