You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right so the browser implementation is actually more correct. We target printf()'s specifiers. %d means "integer". %f means "floating point number". I don't remember if debug understands %.06f (it's been a while) but that would be the way to specify precision.
On Fri, Sep 23, 2022 at 3:56 PM Qix ***@***.***> wrote:
Right so the browser implementation is actually *more* correct. We target
printf()'s specifiers. %d means "integer". %f means "floating point
number". I don't remember if debug understands %.06f (it's been a while)
but that would be the way to specify precision.
—
Reply to this email directly, view it on GitHub
<#913 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAAGNDXPFQVC2FS5HZEIO3V7WZHPANCNFSM6AAAAAAQTYCDVY>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
Activity
Qix- commentedon Sep 23, 2022
%f?Qix- commentedon Sep 23, 2022
Also, I can't reproduce.
weepy commentedon Sep 23, 2022
Ok - I get the same as you in node
In the browser i get
1for %d and1.2345for %fQix- commentedon Sep 23, 2022
Right so the browser implementation is actually more correct. We target
printf()'s specifiers.%dmeans "integer".%fmeans "floating point number". I don't remember ifdebugunderstands%.06f(it's been a while) but that would be the way to specify precision.weepy commentedon Sep 23, 2022
Qix- commentedon Sep 23, 2022
PR welcome.