Post Reply 
(Plus 42) Fraction approximation equation
02-17-2022, 02:50 PM
Post: #3
RE: (Plus 42) Fraction approximation equation
(02-17-2022 02:14 PM)Thomas Okken Wrote:  
(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(D:D+1):L(N:RND(D×X:0))))+RES

You can prevent :‌D from turning into :D 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/

Isn't it simpler to just "Disable Smilies"?

Greetings,
    Massimo

-+×÷ ↔ left is right and right is wrong
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 - Massimo Gnerucci - 02-17-2022 02:50 PM



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