Post Reply 
(Plus 42) Fraction approximation equation
02-17-2022, 02:14 PM
Post: #2
RE: (Plus 42) Fraction approximation equation
(02-17-2022 01:38 PM)Vincent Weber Wrote:  FRAC:0×FOR(SEQ(L(N:IP(X)):L(D:1)):L(RES:ABS(N÷D-X))>TOL:0:SEQ(L(DBig Grin+1):L(N:RND(D×X:0))))+RES

You can prevent :‌D from turning into Big Grin by putting a zero-width space or a zero-width non-joiner between the : and the D.
(The difference is whether a line break may occur or not.)

https://unicode-table.com/en/200B/
https://unicode-table.com/en/200C/
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: (Plus 42) Fraction approximation equation - Thomas Okken - 02-17-2022 02:14 PM



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