Post Reply 
Convert decimal > fraction in program
12-11-2015, 06:11 PM (This post was last modified: 12-11-2015 06:18 PM by jrozsas.)
Post: #13
RE: Convert decimal > fraction in program
I am close to the solution. See the result using "string" combined with "row".
// Program to edit and show Matrix
EXPORT MeuSimp()
BEGIN
LOCAL B,G;
RECT();
EDITMAT(M2);
B:=rowDim(M2);
PRINT;
FOR G FROM 1 TO B DO
PRINT(STRING(row(M2,G),7));
END;
FREEZE;
END;

[Image: bDqDG.jpg]
Suggestions?Must present the results in form of matrix and and fractions. See M2 (in decimal):
[Image: j7LGg.jpg]

Leo

Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Convert decimal > fraction in program - jrozsas - 12-11-2015 06:11 PM



User(s) browsing this thread: 1 Guest(s)