Talk:Price fraction: Difference between revisions
Content added Content deleted
(→Representing the data: new section) |
|||
Line 31: | Line 31: | ||
out=: 1 0.98 0.94 0.9 0.86 0.82 0.78 0.74 0.7 0.66 0.62 0.58 0.54 0.5 0.44 0.38 0.32 0.26 0.18 0.1</lang> |
out=: 1 0.98 0.94 0.9 0.86 0.82 0.78 0.74 0.7 0.66 0.62 0.58 0.54 0.5 0.44 0.38 0.32 0.26 0.18 0.1</lang> |
||
This, of course, works. But perhaps a better approach |
This, of course, works. But perhaps a better approach might be to simply incorporate the text of the original table in the program. The TCL implementation did this. A J version of this approach might be: |
||
<lang J>'g1 out1'=:|:|.(1 5 { 0 ". ]);._2]0 :0 |
<lang J>'g1 out1'=:|:|.(1 5 { 0 ". ]);._2]0 :0 |