Skip to content

Commit

Permalink
Go over $MaxLengthIntStringConversion doc more
Browse files Browse the repository at this point in the history
  • Loading branch information
rocky committed Dec 18, 2023
1 parent 36f1c5d commit 48c0c0f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions mathics/builtin/system.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@ class MaxLengthIntStringConversion(Predefined):
<dl>
<dt>'$MaxLengthIntStringConversion'
<dd>A system constant that fixes the largest size of the string that can \
result when converting an 'Integer' value into a 'String'. When the
'String' is too large, then the middle of the integer contains
result when converting an 'Integer' value into a 'String'. When the \
'String' is too large, then the middle of the integer contains \
an indication of the number of digits elided.
If to 0, at your peril there is no bound. Aside from 0, \
640 is the smallest value allowed.
If $MaxLengthIntStringConversion' is set to 0, there is no \
bound. Aside from 0, 640 is the smallest value allowed.
</dl>
Although Mathics3 can represent integers of arbitrary size, when it formats \
Expand All @@ -58,7 +58,7 @@ class MaxLengthIntStringConversion(Predefined):
= 7000
Set '$MaxLenghtIntStringConversion' to the smallest value allowed:
$MaxLengthIntStringConversion = 640
>> $MaxLengthIntStringConversion = 640
= 640
>> 500! //ToString//StringLength
Expand Down

0 comments on commit 48c0c0f

Please sign in to comment.