Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^2: [OT: JavaScript] JS remainder operation ('%')

by syphilis (Archbishop)
on Jan 18, 2024 at 01:57 UTC ( [id://11157069]=note: print w/replies, xml ) Need Help??


in reply to Re: [OT: JavaScript] JS remainder operation ('%')
in thread [OT: JavaScript] JS remainder operation ('%')

What kind of machine are you using?

Windows 11, with Google Chrome.
What kind are you using ?
Apparently yours uses the sub FMOD { return $_[0] - int($_[0] / $_[1]) * $_[1]; } that harangzsolt33 posted, not the fmod() implementation that most(?) of us are seeing.

Cheers,
Rob

Replies are listed 'Best First'.
Re^3: [OT: JavaScript] JS remainder operation ('%')
by ikegami (Patriarch) on Jan 18, 2024 at 14:31 UTC

    Nevermind, I just noticed that you changed the code before running it in Perl.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11157069]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2024-05-19 04:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found