List Commands Library for 50g

10022017, 12:10 PM
Post: #193




RE: List Commands Library for 50g
I’ve looked at the string functions in this library and I have a question about how numbers with a fractional part should be handled.
For example the description of I→NL ( Integer to Number List ) states that: " A real number will be treated as IP(number)", but in the examples 15.8 is rounded to 16: 15.8 I→NL => { 1 6 } Same for NL→I, which description states that "Fractional parts of numbers are ignored", but in the example 2,718 is rounded to 3: { 3.14 2.718 } NL→I => 33 Same for NL→S which according to the description is working with absolute value of the integer part of the numbers, but in the example 67.6 is converted to "D" (ASCII 68) 

« Next Oldest  Next Newest »

User(s) browsing this thread: